Bagikan melalui


SystemColors.HighlightColorKey Properti

Definisi

ResourceKey Mendapatkan untuk latar belakang Color item terpilih.

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

Nilai Properti

Kunci sumber daya untuk latar belakang Color item yang dipilih.

Keterangan

HighlightColorKey Gunakan untuk membuat referensi dinamis ke warna sistem sorotan. Referensi dinamis ini akan secara otomatis diperbarui jika warna diubah. Untuk membuat referensi statis yang tidak diperbarui secara otomatis, gunakan HighlightColor.

Penggunaan Atribut XAML

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

Nilai XAML

x:StatisEkstensi Markup x:Statis.

Berlaku untuk

Lihat juga