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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to set the font size of GridDataControl

Thread ID:





91456 Nov 19,2009 11:54 AM UTC Nov 21,2009 02:37 AM UTC WPF 2
Tags: GridControl
Asked On November 19, 2009 11:54 AM UTC


I tried GridDataControl.FontSize, but it did not work. Thanks.

Replied On November 19, 2009 12:45 PM UTC

I found that a custom IGridDataVisualStyle works. Is there any simpler way?

Mohamed Suhaib Fahad A. [Syncfusion]
Replied On November 21, 2009 02:37 AM UTC

Hi Xiang,

Thanks for using Syncfusion products. The GridDataControl has different record types that could be customized easily with the IGridDataVisualStyle interface, One more way is to use the Model.QueryBaseStyles event and then add the Font to the BaseStyles,


Please check the above sample.



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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon