How to get the Row and Column count of a grid in C#?
How to get the Row and Column counts of grid in C#, just regular window control grid, not datagrid or gridview
Tha开发者_开发知识库nks
Have you tried grid.RowDefinitions.Count
and grid.ColumnDefinitions.Count
?
精彩评论