Back to Devexpress

TableView.EvenRowBackground Property

wpf-devexpress-dot-xpf-dot-grid-dot-tableview-33648569.md

latest1.9 KB
Original Source

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.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. 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

UseEvenRowBackground

TableView Class

TableView Members

DevExpress.Xpf.Grid Namespace