Articles in this section
Category / Section

How to modify the font of a particular column in WinForms GridGroupingControl?

1 min read

Change the font style

You can set the font style for a particular column in the WinForms GridGroupingControl, by using the Font property of that column style. You can modify the FontName, FontSize and FontStyle through this property.

C#

// Used to change the Font Style for particular column.
this.gridGroupingControl1.TableDescriptor.Columns[1].Appearance.AnyRecordFieldCell.Font = new Syncfusion.Windows.Forms.Grid.GridFontInfo(new Font("Algerian", 8f, FontStyle.Bold));

VB

'Used to change the Font Style for particular column.
Me.gridGroupingControl1.TableDescriptor.Columns(1).Appearance.AnyRecordFieldCell.Font = New Syncfusion.Windows.Forms.Grid.GridFontInfo(New Font("Algerian", 8f, FontStyle.Bold))

Screenshot

Show font style is changed in second column

Figure 1: Output


Conclusion

I hope you enjoyed learning about how to modify the font of a particular column in WinForms GridGroupingControl.

You can refer to our  WinForms GridGroupingControl feature tour page to know about its other groundbreaking feature representations. You can also explore our WinForms GridGroupingControl documentation to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!


Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied