LocalizabilityAttribute.Readability Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the readability setting of the localization attribute's targeted value.
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
Property Value
The readability setting of the localization attribute.
Examples
The following code example shows the readability setting of localization attributes defined for a text block.
<!-- 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>
Remarks
The following table shows the readability settings of the localization attribute.
Readability setting | Meaning |
---|---|
Readable | Targeted value is readable text. |
Unreadable | Targeted value is not readable. |
Inherit | Targeted value's readability is inherited from its parent node. |
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.