Readability 列挙型

定義

バイナリ XAML (BAML) クラスまたはクラス メンバーの LocalizabilityAttribute の読みやすさの値を指定します。

public enum class Readability
public enum Readability
type Readability = 
Public Enum Readability
継承
Readability

フィールド

名前 説明
Unreadable 0

ターゲット値は読み取りできません。

Readable 1

ターゲット値は読み取り可能なテキストです。

Inherit 2

ターゲット値の読みやすさは、親ノードから継承されます。

次のコード例は、ボタンに対して定義された LocalizabilityAttribute の読みやすさの値を示しています。

<!-- Define localization attributes for the button.
      - The content is visible to the localizer and can be changed.
      - The font family property is visible to the localizer but cannot be changed. -->
  <Button
    FontFamily="Microsoft San Serif"
    Localization.Attributes=
      "$Content(Button Readable Modifiable) FontFamily(Font Readable Unmodifiable)" >
    your company name here
  </Button>

注釈

LocalizabilityAttribute属性は、クラス、プロパティ、またはメソッドに適用できます。

ローカライズ属性の使用方法の詳細については、「 ローカリゼーション属性とコメント」を参照してください。

適用対象

こちらもご覧ください