LocalizabilityAttribute.Readability プロパティ

定義

ローカリゼーション属性のターゲット値の readability 設定を取得または設定します。

public:
 property System::Windows::Readability Readability { System::Windows::Readability get(); void set(System::Windows::Readability value); };
public System.Windows.Readability Readability { get; set; }
member this.Readability : System.Windows.Readability with get, set
Public Property Readability As Readability

プロパティ値

Readability

ローカリゼーション属性の readability 設定。

次のコード例は、テキスト ブロックに対して定義されたローカリゼーション属性の読みやすさ設定を示しています。

<!-- Define localization attributes and comments for the text block.
    - The content is visible to the localizer and can be changed.
    - The font size property is visible to the localizer and can be changed.
    - The comment specifies that the trademark font size should be used. -->
<TextBlock
  FontSize="14"
  Localization.Attributes=
    "$Content(Text Readable Modifiable) FontSize(Font Readable Modifiable)"
  Localization.Comments=
    "$Content(Trademark) FontSize(Trademark font size)" >
  your company name here
</TextBlock>

注釈

次の表は、ローカリゼーション属性の読みやすさの設定を示しています。

読みやすさの設定 説明
Readable ターゲット値は読み取り可能なテキストです。
Unreadable ターゲット値は読み取り不可能です。
Inherit ターゲット値の読みやすさは、親ノードから継承されます。

適用対象

こちらもご覧ください