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.

How to set the font size of GridDataControl

Thread ID:

Created:

Updated:

Platform:

Replies:

91456 Nov 19,2009 06:54 AM Nov 20,2009 09:37 PM WPF 2
loading
Tags: GridControl
Shawn
Asked On November 19, 2009 06:54 AM

Hi,

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

Shawn
Replied On November 19, 2009 07:45 AM

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

Mohamed Suhaib Fahad A. [Syncfusion]
Replied On November 20, 2009 09:37 PM

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.

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.

;