c# : How ot create a grid row array programatically
- by user234839
I am working in c# and i am under a situation where i have a grid (childGrid) and inside this grid i want to create 3 more grids dynamically.
I want to achieve it using arrays. My try to do this is:
Grid[] row = new Grid[counts];
for (int i = 0; i < counts; i++)
{
row[i].RowDefinitions[counts].Add(new RowDefinition());
}
for (int i = 0;…