Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeListView.UseEvenRowBackground Property

Specifies whether to highlight even nodes with different colors using a theme-dependent brush. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public bool UseEvenRowBackground { get; set; }

#Property Value

Type Description
Boolean

true, to highlight even nodes with different colors using a theme-dependent brush; otherwise, false. The default is false.

#Remarks

Use the UseEvenRowBackground property to highlight even nodes with different colors using a theme-dependent brush. To retrieve the brush for the current theme, use the TreeListView.EvenRowBackground property.

Tip

You can specify a custom TreeListView.EvenRowBackground brush.

If the UseEvenRowBackground property is set to false, the brush specified by the TreeListView.AlternateRowBackground property is used.

See Also