Skip to main content

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public Brush EvenRowBackground { get; set; }

Property Value

Type Description
Brush

A Brush value.

Remarks

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