Επεξεργασία

Κοινή χρήση μέσω


SystemColors.ControlTextColorKey Property

Definition

Gets the ResourceKey for the Color of text in a three-dimensional display 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

Property Value

The resource key for the Color of text in a three-dimensional display element.

Remarks

Use the ControlTextColorKey to create a dynamic reference to the color of text in a three-dimensional display element. This dynamic reference will automatically update if the color is changed. To create a static reference that does not update automatically, use ControlTextColor.

XAML Attribute Usage

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

XAML Values

x:Static
The x:Static Markup Extension.

Applies to

See also