Bagikan melalui


SystemColors.InfoTextColorKey Properti

Definisi

ResourceKey Mendapatkan untuk Color teks dalam ToolTip kontrol.

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

Nilai Properti

Kunci sumber daya untuk Color teks dalam ToolTip kontrol.

Keterangan

InfoTextColorKey Gunakan untuk membuat referensi dinamis ke warna teks dalam ToolTip kontrol. Referensi dinamis ini akan secara otomatis diperbarui jika warna diubah. Untuk membuat referensi statis yang tidak diperbarui secara otomatis, gunakan InfoTextColor.

Penggunaan Atribut XAML

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

Nilai XAML

x:StatisEkstensi Markup x:Statis.

Berlaku untuk

Lihat juga