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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

resizing with minimal height/width

Thread ID:





9063 Dec 4,2003 10:34 AM UTC Dec 4,2003 02:46 PM UTC WinForms 1
Tags: GridControl
Asked On December 4, 2003 10:34 AM UTC

Is it at all possible to resize columns or rows (using ResizeToFit or some other method) using a minimal width or height. Maybe it can be obtained by setting some MinimalWidth-like property on a column but I cannot seem to find such a property

Administrator [Syncfusion]
Replied On December 4, 2003 02:46 PM UTC

There is a GridResizeToFitOptions.NoShrink flag that you can set when you call ResizeToFit. This should prevent the width from shrinking during a ResizeToFit call. So, then if you somehow set the initial size of your column to be your minimum size (either using grid.DefaultColWidth or grid.Model.ColWidths[col]), then this may effectively implement a minimum size.


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon