views:

77

answers:

1

How to get the Row and Column counts of grid in C#, just regular window control grid, not datagrid or gridview

Thanks

+8  A: 

Have you tried grid.RowDefinitions.Count and grid.ColumnDefinitions.Count?

Jon Skeet
Damn, beaten to it.
ChrisF