foreach (UltraGridColumn c in DestinationGrid.Columns){ c.PerformAutoResize();}
Only problem is that there's no .Columns Collection, but there is a .Rows collection?!?
DestinationGrid.Rows[0].Band.Columns
But that assumes the existance of Row[0]
Can anyone suggest the best way to achieve what I'm trying to do?
Thanks,
-Anthony
Thank you very much, that's just what I needed.
foreach(UltraGridBand band in grid.DisplayLayout.Bands)
{
foreach(UltraGridColumn column in band.Columns)
column.PerformAutoResize();
}