This documentation is archived and is not being maintained.

LocalizabilityAttribute.Readability Property

Gets or sets the readability setting of the localization attribute's targeted value.

Namespace: System.Windows
Assembly: PresentationCore (in presentationcore.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public Readability Readability { get; set; }
/** @property */
public Readability get_Readability ()

/** @property */
public void set_Readability (Readability value)

public function get Readability () : Readability

public function set Readability (value : Readability)

You cannot use this property in XAML.

Property Value

The readability setting of the localization attribute.

The following table show 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.

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>

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: