LocalizabilityAttribute.Readability Egenskap

Definition

Hämtar eller anger läsbarhetsinställningen för lokaliseringsattributets målvärde.

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

Egenskapsvärde

Läsbarhetsinställningen för lokaliseringsattributet.

Exempel

I följande kodexempel visas läsbarhetsinställningen för lokaliseringsattribut som definierats för ett textblock.

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

Kommentarer

I följande tabell visas läsbarhetsinställningarna för lokaliseringsattributet.

Läsbarhetsinställning Innebörd
Readable Målvärdet är läsbar text.
Unreadable Målvärdet kan inte läsas.
Inherit Målvärdets läsbarhet ärvs från den överordnade noden.

Gäller för

Se även