Hi
I just came across this thread during my UI framework evaluation for a client o mine. The solution they plan to implement will need also to display data in a datagrid
and targets Xamarin.Forms.
So I started playing around with the SfDataGrid control. It was easy to just get a datagrid displayed, but difficulties start arise when it comes to customization. Actually I can't find the way how to style column headers to have a background color of my choice (blue) and the text color for example (white) in XAML. I used XAML in context of many WPF projects. What I was expecting is to have possibility to write something like
<Style x:Key="justakeyname" TargetType="syncf:HeaderPresenter">
<Setter Property="BackgroundColor" Value="Blue"/>
<Setter Property="Color" Value="White"/>
</Style>
which fits well with Xaml. The only solution I found to achieve the header styling is to implement a class that derives from DataGridStyle. I personally don't like this solution so I ask you if I'm missing something in the documentation?
Thanks