How to get the number of rows and columns of a grid in C #?

How to get grid row and column counts in C #, just a regular window control grid, not a datagrid or gridview

thank

+3
source share
1 answer

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

+11
source

Source: https://habr.com/ru/post/1743248/


All Articles