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

Grid Bounds

Thread ID:





10652 Feb 9,2004 02:08 PM UTC Feb 9,2004 07:20 PM UTC WinForms 1
Tags: GridControl
Stefan T
Asked On February 9, 2004 02:08 PM UTC

How to change the gridcontrol.Bounds to resize the grid. I have tried every way grid.Bounds or grid.GridBounds grid.Width or Grid.Height The Height is changed correctly but not the Width. What to do ? Thanks in advance . Regards

Administrator [Syncfusion]
Replied On February 9, 2004 07:20 PM UTC

You should be able to set the grid.Bounds and make things work (or set grid.Size). Below is a little sample that seems to work as expected using grid.Size. Is there something that might be overriding setting the width, like amybe teh grid being achored on both sides of its parent or maybe in some type of docking. forum10652_9986.zip


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