Open nk-alex opened 6 months ago
I found this from the read.me. But I'm also curious how to use HeaderLabelStyle
.
<dg:DataGridColumn PropertyName="Name">
<dg:DataGridColumn.FormattedTitle>
<FormattedString>
<Span Text="Name" TextColor="White" FontSize="13" FontAttributes="Bold" />
</FormattedString>
</dg:DataGridColumn.FormattedTitle>
</dg:DataGridColumn>
<ContentPage.Resources>
<Style x:Key="header" TargetType="Label">
<Setter Property="TextColor" Value="White" />
</Style>
</ContentPage.Resources>
Then use with HeaderLabelStyle="{StaticResource Key=header}"
How could the header be customized? I have seen the property HeaderLabelStyle but I'm not able to figure out how to use it. Also, is it possible to customize the full appearance not just the label style? Something like DataGridColumn.HeaderTemplate