Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public Brush EvenRowBackground { get; set; }

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.

See Also