Skip to main content
A newer version of this page is available. .
All docs
V20.2

TreeViewControl.EvenRowBackground Property

Gets or sets a theme-dependent brush that highlights even nodes. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, DevExpress.Wpf.Grid.Core

Declaration

public Brush EvenRowBackground { get; set; }

Property Value

Type Description
Brush

The brush that highlights even nodes.

Remarks

The EvenRowBackground property’s default value depends on the current theme.

To use the theme-dependent brush to highlight even nodes, set the TreeViewControl.UseEvenRowBackground property to true.

Example

<dxg:TreeViewControl UseEvenRowBackground="True"
                     EvenRowBackground="PaleVioletRed"
                     .../>
See Also