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 .
ADAdministrator Syncfusion Team February 9, 2004 02:20 PM
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.