TableView.EvenRowBackground Property

Provides access to a theme-dependent brush that is used to alternate the even rows' background and allows you to specify a custom brush. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.1.dll

Declaration

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

Property Value

Type Description
Brush

A Brush value. The default value is theme-dependent.

Remarks

The EvenRowBackground property default value depends on the current theme.

If the TableView.UseEvenRowBackground property is set to true, the EvenRowBackground brush is used to alternate the even rows' background. Otherwise, the TableView.AlternateRowBackground brush is used.

Use the TableView.AlternateRowBackground and TableView.AlternationCount properties to alternate rows with a custom frequency.

Implements

DevExpress.Xpf.Grid.ITableView.EvenRowBackground
See Also