Back to Devexpress

TreeViewControl.EvenRowBackground Property

wpf-devexpress-dot-xpf-dot-grid-dot-treeviewcontrol-af27ce08.md

latest1.6 KB
Original Source

TreeViewControl.EvenRowBackground Property

Gets or sets a theme-dependent brush that highlights even nodes. 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

The brush that highlights even nodes.

|

Remarks

The EvenRowBackground property’s default value depends on the current theme.

To use the theme-dependent brush to highlight even nodes, set the TreeViewControl.UseEvenRowBackground property to true.

Example

xaml
<dxg:TreeViewControl UseEvenRowBackground="True"
                     EvenRowBackground="PaleVioletRed"
                     .../>

See Also

TreeViewControl Class

TreeViewControl Members

DevExpress.Xpf.Grid Namespace