As in WPF DataGrid the DataGrid should have a RowStyle property where the style for a row can be defined: https://learn.microsoft.com/de-de/dotnet/api/system.windows.controls.datagrid.rowstyle?view=windowsdesktop-8.0