Does anyone know how to get the number of rows of grid rows in DevExpress WPF?
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?
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.