Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
744
Columns Collection?
posted
So, I wrote what I thought would work:-

foreach (UltraGridColumn c in DestinationGrid.Columns)
{
        c.PerformAutoResize();
}

Only problem is that there's no .Columns Collection, but there is a .Rows collection?!?

Best I've found so far is:-

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