You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: controls/datagrid/theming-and-styles/style-selectors.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ You can set a distinct style to a specific cell in a given column based on custo
23
23
## Row Background Style Selector
24
24
25
25
You can set a different style on a row, an alternate row, and on row details based on custom style-selection logic by using the `RowBackgroundStyleSelector` (`IStyleSelector`) property.
26
-
To apply a `RowBackgroundStyleSelector`follow these steps:
26
+
To apply a `RowBackgroundStyleSelector`you have to:
27
27
1. Create a custom class that inherits from `IStyleSelector`.
28
28
1. Implement the `SelectStyle` method.
29
29
1. The object item of the `SelectStyle` method is of type `DataGridRowInfo`. The `DataGridRowInfo` represents a class that provides information for each row in DataGrid and exposes the follwoing properties:
0 commit comments