SystemColors.GrayTextColorKey Eigenschap

Definitie

Hiermee haalt u de ResourceKey voor de Color uitgeschakelde tekst op.

public:
 static property System::Windows::ResourceKey ^ GrayTextColorKey { System::Windows::ResourceKey ^ get(); };
public static System.Windows.ResourceKey GrayTextColorKey { get; }
static member GrayTextColorKey : System.Windows.ResourceKey
Public Shared ReadOnly Property GrayTextColorKey As ResourceKey

Waarde van eigenschap

De resourcesleutel voor de Color uitgeschakelde tekst.

Opmerkingen

Gebruik de GrayTextColorKey functie om een dynamische verwijzing naar de uitgeschakelde tekstsysteemkleur te maken. Deze dynamische verwijzing wordt automatisch bijgewerkt als de kleur wordt gewijzigd. Als u een statische verwijzing wilt maken die niet automatisch wordt bijgewerkt, gebruikt u GrayTextColor.

XAML-kenmerkgebruik

<object property="{DynamicResource {x:Static SystemColors.GrayTextColorKey}}"/>

XAML-waarden

x:Statisch De extensie x:Static Markup.

Van toepassing op

Zie ook