Bagikan melalui


SystemColors.WindowTextColorKey Properti

Definisi

ResourceKey Mendapatkan untuk Color teks di area klien jendela.

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

Nilai Properti

Kunci sumber daya untuk Color teks di area klien jendela.

Keterangan

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

Penggunaan Atribut XAML

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

Nilai XAML

x:StatisEkstensi Markup x:Statis.

Berlaku untuk

Lihat juga