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.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.2.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