LocalizabilityAttribute.Readability Propriété

Définition

Obtient ou définit le paramètre de lisibilité de la valeur ciblée de l'attribut de localisation.

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

Valeur de propriété

Readability

Le paramètre de lisibilité de l'attribut de localisation.

Exemples

L’exemple de code suivant montre le paramètre de lisibilité des attributs de localisation définis pour un bloc de texte.

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

Remarques

Le tableau suivant montre les paramètres de lisibilité de l’attribut de localisation.

Paramètre de lisibilité Signification
Readable La valeur ciblée est lisible.
Unreadable La valeur ciblée n'est pas lisible.
Inherit La lisibilité de la valeur ciblée est héritée de son nœud parent.

S’applique à

Voir aussi