문제

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 ?

도움이 되었습니까?

해결책

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
   }
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top