The requested page is not available for the requested platform. You are viewing the content for Default platform.

GridControl.AlternateRowBackgroundPalette Property

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

Namespace: DevExpress.UI.Xaml.Grid

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

Declaration

public AlternateRowBackgroundPalette AlternateRowBackgroundPalette { get; set; }
Public Property AlternateRowBackgroundPalette As AlternateRowBackgroundPalette

Property Value

Type Description
DevExpress.UI.Xaml.Grid.AlternateRowBackgroundPalette

A DevExpress.UI.Xaml.Grid.AlternateRowBackgroundPalette object.

Remarks

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

See Also