according to your Documenation '
Styling in .NET MAUI DataGrid control | Syncfusion
' i can use this and link it up to the needed sfDataGrid.
xmlns:syncfusion="http://schemas.syncfusion.com/maui"
<syncfusion:DataGridStyle x:Key="sfGridDefaultStyle"
RowTextColor="{AppThemeBinding Light={StaticResource PrimaryColorLight}, Dark={StaticResource PrimaryColorDark}}"
HeaderRowBackground="{AppThemeBinding Light={StaticResource SecondaryColorLight}, Dark={StaticResource SecondaryColorDark}}"
HeaderRowTextColor="{AppThemeBinding Light={StaticResource PrimaryColorLight}, Dark={StaticResource PrimaryColorDark}}"/>
this seem to work on MacOS fine, but when i start the Maui App on windows I get the following error
Microsoft.Maui.Controls.Xaml.XamlParseException: 'Position 89:14. Type syncfusion:DataGridStyle not found in xmlns http://schemas.syncfusion.com/maui'