แก้ไข

แชร์ผ่าน


SystemColors.HighlightColorKey Property

Definition

Gets the ResourceKey for the background Color of selected items.

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

Property Value

The resource key for the background Color of selected items.

Remarks

Use the HighlightColorKey to create a dynamic reference to the highlight system color. This dynamic reference will automatically update if the color is changed. To create a static reference that does not update automatically, use HighlightColor.

XAML Attribute Usage

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

XAML Values

x:Static
The x:Static Markup Extension.

Applies to

See also