Gets or sets a Brush that is used to fill the panel.
Syntax
<panel> <panel.Background> singleBrush </panel.Background> </panel>
<panel Background="colorString"/>
XAML Values
- singleBrush
-
Within opening and closing property elements for object.Background, exactly one object element for an object that derives from Brush. The object element can be one of the following: LinearGradientBrush, ImageBrush, SolidColorBrush.
- colorString
-
The Color for a SolidColorBrush expressed as an attribute string. This can be a named color, an RGB value, or an ScRGB value. RGB or ScRGB may also specify alpha information.
Property value
Type: Brush
The brush used to fill the panel. The default is null.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 3/12/2013