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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應