We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

GridGroupingControl vs PrivateFontCollection

Thread ID:





125080 Jul 20,2016 05:06 AM Jul 21,2016 10:39 AM Windows Forms 1
Tags: GridGroupingControl
Asked On July 20, 2016 05:06 AM

Why am I not able to use private font collection in grid grouping control in the way like this:

this.gridGroupingControl.Font = new System.Drawing.Font(GetFontFamily(), this.gridControl.Font.Size, this.gridControl.Font.Style, this.gridControl.Font.Unit, 1);

where GetFontFamily() is method that returns font family from PrivateFontCollection. 
If I use e.g. "Segoe Script" instead of GetFontFamily() it is working fine.

Anish George [Syncfusion]
Replied On July 21, 2016 10:39 AM

Hi Kamil, 

Thank you for using Syncfusion products. 

We have created a simple sample using PrivateCollection for the Arial font. Please refer the below sample so that you can get an idea how to use it. Currently we have support only to apply an existing embedded font in our GridGroupingControl.  


Please let us know if you need any further assistance. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.