LocalizabilityAttribute.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

プロパティ値

ローカリゼーション属性の読みやすさの設定。

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

<!-- 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>

注釈

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

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

適用対象

こちらもご覧ください