Bagikan melalui


ToolBarTray.Background Properti

Definisi

Mendapatkan atau mengatur kuas yang akan digunakan untuk warna ToolBarTraylatar belakang .

public:
 property System::Windows::Media::Brush ^ Background { System::Windows::Media::Brush ^ get(); void set(System::Windows::Media::Brush ^ value); };
public System.Windows.Media.Brush Background { get; set; }
member this.Background : System.Windows.Media.Brush with get, set
Public Property Background As Brush

Nilai Properti

Kuas yang digunakan untuk warna ToolBarTraylatar belakang .

Contoh

Contoh berikut menggunakan Background properti untuk mengatur kuas untuk warna latar belakang .ToolBarTray

<ToolBarTray Background="White" IsLocked="True">

Keterangan

Informasi Properti Dependensi

Item Nilai
Bidang pengidentifikasi BackgroundProperty
Properti metadata diatur ke true AffectsRender, SubPropertiesDoNotAffectRender

Berlaku untuk

Lihat juga