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.
Syncfusion Feedback

How to set the font size of GridDataControl

Thread ID:

Created:

Updated:

Platform:

Replies:

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

Hi,

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

Shawn
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,

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=sample1654137649.zip

Please check the above sample.

Thanks,
Fahad

CONFIRMATION

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.

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

;