Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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