Back to Devexpress

TreeListView.EvenRowBackground Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-e1e73205.md

latest1.9 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public Brush EvenRowBackground { get; set; }
vb
Public Property EvenRowBackground As Brush

Property Value

TypeDescription
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

UseEvenRowBackground

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace