TreeListView.EvenRowBackground Property

Provides access to a theme-dependent brush that is used to alternate the node background. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v21.1.dll


public Brush EvenRowBackground { get; set; }

Property Value

Type Description

A Brush value.


The EvenRowBackground property default value depends on the current theme.

If the TreeListView.UseEvenRowBackground property is set to true, the EvenRowBackground brush is used to alternate the even nodes’ background. Otherwise, the TreeListView.AlternateRowBackground brush is used.

Use the TreeListView.AlternateRowBackground and TreeListView.AlternationCount properties to alternate nodes with a custom frequency.

See Also