Bagikan melalui


SystemColors.HighlightTextColorKey Properti

Definisi

ResourceKey Mendapatkan untuk Color teks item yang dipilih.

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

Nilai Properti

Kunci sumber daya untuk Color teks item yang dipilih.

Keterangan

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

Penggunaan Atribut XAML

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

Nilai XAML

x:StatisEkstensi Markup x:Statis.

Berlaku untuk

Lihat juga