Gets or sets a Brush that is used to fill the panel.
Assembly: System.Windows (in System.Windows.dll)
<panel> <panel.Background> singleBrush </panel.Background> </panel>
Property ValueType: System.Windows.Media.Brush
The brush used to fill the panel. The default is null.
Dependency property identifier field: BackgroundProperty
The property determines the background color of the Panel. For information about setting the background and other properties for the Silverlight plug-in, see How to: Add Silverlight to a Web Page by Using HTML.
Some brush types (SolidColorBrush) support a XAML attribute syntax, whereas other brush types (ImageBrush, LinearGradientBrush, RadialGradientBrush) support only an object element syntax. This is why two versions of XAML syntax are shown for this property.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.