DataGrid.AlternatingRowBackground Property

Definition

Gets or sets the Brush that is used to paint the background of odd-numbered rows.

public Windows.UI.Xaml.Media.Brush AlternatingRowBackground { get; set; }
member this.AlternatingRowBackground : Windows.UI.Xaml.Media.Brush with get, set
Public Property AlternatingRowBackground As Brush

Property Value

Windows.UI.Xaml.Media.Brush

The brush that is used to paint the background of odd-numbered rows.

Applies to