Skip to main content
All docs
V24.1

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.v24.1.dll

NuGet Package: 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