Have to get rowcount and column count of a data grid view


My application is developed using WPF and It is has grid view. I want to get the row count and Column count of this grid. I have attached the screenshot of grid.

Thanks in Advance


Do you want to find out the rowcount & colcount in UiPath or .Net ?

I think u can grape and store these data in DataTable (e.g. DT), and do iteration process about DT.Rows and counting column in DT.Columns

I want to get the rowcount and colCount of WPF grid view using UIPath


In here you have a documented example using “Find Children” activity which is, at some point, counting rows.

Hopefully that will help.