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. Image for the cookie policy date
close icon

GridGroupingControl vs PrivateFontCollection

Hello,
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.

1 Reply

AG Anish George Syncfusion Team July 21, 2016 02:39 PM UTC

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.  

Sample: 

Please let us know if you need any further assistance. 

Regards, 
Anish. 


Loader.
Live Chat Icon For mobile
Up arrow icon