Taal

SystemColors.ControlTextColorKey Eigenschap

Definitie

Hiermee haalt u het ResourceKey voor de Color tekst op in een driedimensionaal weergave-element.

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

Waarde van eigenschap

De resourcesleutel voor de Color tekst in een driedimensionaal weergaveelement.

Opmerkingen

Gebruik de ControlTextColorKey functie om een dynamische verwijzing te maken naar de kleur van tekst in een driedimensionaal weergaveelement. 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 ControlTextColor.

XAML-kenmerkgebruik

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

XAML-waarden

x:Statisch De extensie x:Static Markup.

Van toepassing op

Zie ook