ToolBarTray.Background Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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 |