Skip to main content

GridControl.AlternateRowBackground Property

Gets or sets the brush used to paint the background of alternate rows. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public Brush AlternateRowBackground { get; set; }

Property Value

Type Description
Brush

A Windows.UI.Xaml.Media.Brush value.

Remarks

The Grid Control allows you to alternate row colors. Use the AlternateRowBackground property to set the background color of alternate rows and the GridControl.AlternationCount property to set the alternate row frequency. Alternatively, use the GridControl.AlternateRowBackgroundPalette property to set a palette of row background colors.

See Also