ToolBarTray.Background 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个画笔,该画笔用于该颜色的背景 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
属性值
要用于背景色的 ToolBarTray画笔。
示例
下面的示例使用 Background 属性设置画笔的背景色 ToolBarTray。
<ToolBarTray Background="White" IsLocked="True">
注解
Dependency 属性信息
| 物品 | 价值 |
|---|---|
| 标识符字段 | BackgroundProperty |
元数据属性设置为 true |
AffectsRender、SubPropertiesDoNotAffectRender |