Question

I can't find a way to get all cells in a UltraGrid. I want to get through them all in a foreach loop.

Is there a way to get them all ?

Était-ce utile?

La solution

Loop through all the Rows of the grid, then through all the Cells of the row:

foreach(var row in myGrid.Rows)
{
   foreach(var cell in row.Cells)
   {
      // Do stuff
   }
}
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top