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


Thread ID:





91382 Nov 16,2009 10:02 AM UTC Nov 18,2009 02:57 PM UTC WPF 1
Tags: GridControl
Thomas M
Asked On November 16, 2009 10:02 AM UTC

Hi ,

I need to override the default CellSize how can i do this ?

thanks in advance,

Thomas M.

Ganesan K [Syncfusion]
Replied On November 18, 2009 02:57 PM UTC

Hi Thomas,

Thanks for using Syncfusion products.

To override the default CellSize, you can use the following code.

dataGrid.Model.RowHeights.DefaultLineSize = 25;

foreach (var visibleColumn in dataGrid.VisibleColumns)
visibleColumn.Width = 60;

Please download the workaround sample in the following location.


Let us know if you need any more details.



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