Hi Team,
I am designing winform in which i have used a ultragrid.
On restore down, the grid size remains the same, thus hiding few columns. I want it to adjust as per the form size.
Please advice of any property or code that can do this for me?
Thanks in advance
you have 2 solutions, either setting the Dock property (right or left or top or bottom or fill)
or set the Anchor property from all sides (top,left,bottom and right)
hope this helps
HI Hady, Thanks for your quick response.. As i was trying few things, it worked out. I used the following thing which did the trick for me :
layout.AutoFitStyle =
AutoFitStyle.ResizeAllColumns;
Thanks everyone