DevExpress WPF Grid - get row count

Does anyone know how to get the number of rows of grid rows in DevExpress WPF?

+5
source share
2 answers

I'm not sure there is a way, except that you are actually walking through the visual tree (using VisualTreeHelper). How about something like (mygGidControl1.DataSource as ICollection) .Count?

0
source

The number of displayed lines can change as users change grouping, filtering. Therefore, you should use the GridControl.VisibleRowCount property instead of the number of rows of the data source.

+8
source

All Articles