Syncfusion.SfDataGrid.XForms
Example 

AlternationCount Property

Gets or sets the alternation count for applying alternate row color to the rows of SfDataGrid.
Syntax
public int AlternationCount {get; set;}

Property Value

The alternation count of the rows for which the alternate row color should be applied.
Remarks
SfDataGrid allows the user to set alternate row color by setting the AlternatingRowColor property to the applied GridStyle property. SfDataGrid allows you to customize the rows for which the alternate row color needs to be updated based on the AlternationCount property.
Example
dataGrid.GridStyle.AlternatingRowColor = Color.Fuschia;
dataGrid.AlternationCount = 3;
AssemblyVersion

Syncfusion.SfDataGrid.XForms: 17.2451.0.46

See Also