2X faster development
The ultimate Xamarin UI toolkit to boost your development speed.
SfDataGrid allows you to apply style for the GridCells by using the GridColumn.CellStyle property. To apply RowStyle for a particular row/rows, you need to apply the same CellStyle for all the GridColumns in the row. The following code example illustrates how to apply RowStyle for every 3rd row in the SfDataGrid.
Note that the BackgroundColor property for all the GridCells is binded with the same property “ID” to achieve the row style. Refer the following code example for applying background color using converter.
The following screenshot shows the final outcome upon execution of the above code The working sample for this KB can be downloaded from the following link http://www.syncfusion.com/downloads/support/directtrac/general/ze/RowStyle-1514358486
|
2X faster development
The ultimate Xamarin UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.