Bagikan melalui


SystemColors.ActiveCaptionColorKey Properti

Definisi

ResourceKey Mendapatkan untuk latar belakang Color bilah judul jendela aktif.

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

Nilai Properti

Kunci sumber daya untuk latar belakang Color bilah judul jendela aktif.

Keterangan

ActiveCaptionColorKey Gunakan untuk membuat referensi dinamis ke warna sistem keterangan aktif. Referensi dinamis ini akan secara otomatis diperbarui jika warna diubah. Untuk membuat referensi statis yang tidak diperbarui secara otomatis, gunakan ActiveCaptionColor.

Penggunaan Atribut XAML

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

Nilai XAML

x:StatisEkstensi Markup x:Statis.

Berlaku untuk

Lihat juga