effectiveRows property

List<DataGridRow> effectiveRows

Return the copy of the DataGridSource.rows. It holds the sorted collection if the sorting is applied in DataGrid.

Use this property to get the corresponding visible row index to perform the customization such as alternate row color, setting row color based on row index and so on.

Implementation

List<DataGridRow> get effectiveRows => _effectiveRows;