Hi,
I have the following xaml code:
<igGrid:TemplateColumn Key="Number" HeaderText="Serial No" Width="150" > <igGrid:TemplateColumn.ItemTemplate> <DataTemplate> <igEdit:XamWebMaskedEditor x:Name="maskLic" ></igEdit:XamWebMaskedEditor> </DataTemplate> </igGrid:TemplateColumn.ItemTemplate> </igGrid:TemplateColumn>
I would like to bold the Header text Serial No. Can someone show me how? Thanks!
Thank you. It worked.
You can define a HeaderTemplate and customize it the way you like it.
So in your case, your XAML should look something like this:
<igGrid:TemplateColumn Key="Number" Width="150">
<igGrid:TemplateColumn.HeaderTemplate>
<DataTemplate>
<TextBlock Text="Serial No" FontWeight="Bold" />
</DataTemplate>
</ig:TemplateColumn.HeaderTemplate>
<igGrid:TemplateColumn.ItemTemplate ... />
</igGrid:TemplateColumn>
Hope that helps,