How to modify the font of a particular column in WinForms GridGroupingControl?
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.
// 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));
'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))
The
screenshot below illustrates the change of font style in GGC.
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’s feature tour page to know about its other groundbreaking feature representations. You can also explore our WinForms GridGroupingControl documentation to understand how to present and manipulate data.
For current customers, you can check out our WinForms 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 WinForms GridGroupingControl and other WinForms components.
If you have any queries or require clarifications, please let us know in comments below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!