Språk

SystemColors.ControlTextColorKey Egenskap

Definition

ResourceKey Hämtar text för Color i ett tredimensionellt visningselement.

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

Egenskapsvärde

Resursnyckeln Color för texten i ett tredimensionellt visningselement.

Kommentarer

ControlTextColorKey Använd för att skapa en dynamisk referens till textfärgen i ett tredimensionellt visningselement. Den här dynamiska referensen uppdateras automatiskt om färgen ändras. Om du vill skapa en statisk referens som inte uppdateras automatiskt använder du ControlTextColor.

XAML-attributanvändning

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

XAML-värden

x:StaticX:Static Markup Extension.

Gäller för

Se även