Back to Devexpress

TreeListView.UseEvenRowBackground Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-4460f856.md

latest1.8 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public bool UseEvenRowBackground { get; set; }
vb
Public Property UseEvenRowBackground As Boolean

Property Value

TypeDescription
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

AlternationCount

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace