ToolBarTray.Background Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a brush to use for the background color of the ToolBarTray.
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
Property Value
A brush to use for the background color of the ToolBarTray.
Examples
The following example uses the Background property to set the brush for the background color of a ToolBarTray.
<ToolBarTray Background="White" IsLocked="True">
Remarks
Dependency Property Information
Identifier field | BackgroundProperty |
Metadata properties set to true |
AffectsRender, SubPropertiesDoNotAffectRender |
Applies to
See also
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.