Skip to main content
A newer version of this page is available. .

BaseLayoutItem.Background Property

Gets or sets the layout item’s background color.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Docking, DevExpress.Wpf.Navigation

Declaration

public Brush Background { get; set; }

Property Value

Type Description
Brush

A Brush object, set as a BaseLayoutItem‘s background color.

Remarks

The Background supports all types of brushes, such as SolidColorBrush, LinearGradientBrush etc. To learn more, see Painting with Solid Colors and Gradients Overview in MSDN.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Background property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also