Hi Kumar,
If you need to change the HeaderText’s Font style, then it is possible by setting HeaderFontAttribute property as “Bold” or any other. Please refer the below code snippet.
<sfGrid:GridTextColumn HeaderFontAttribute="Bold" MappingName="CustomerID" /> |
If you need to change the Font color, then it is not possible to achieve directly like above case. However, you can achieve it by using HeaderTemplate. Please refer the below code snippet.
<sfGrid:GridTextColumn MappingName="CustomerID">
<sfGrid:GridTextColumn.HeaderTemplate>
<DataTemplate>
<Label Text="CustomerID" TextColor="Blue" />
</DataTemplate>
</sfGrid:GridTextColumn.HeaderTemplate>
</sfGrid:GridTextColumn> |
We have prepared a simple sample for your reference and you can download the same from the below link.
Regards,
Divakar.