views:

465

answers:

2

Does anyone knows how to get a DevExpress WPF Grid Rows count?

A: 

I am not sure there is a way except by actually walking the visual tree (using VisualTreeHelper). How about something like (mygGidControl1.DataSource as ICollection).Count ?

bitbonk
A: 

The number of rows displayed can change as users change the grouping, filterting. Therefore, you should use the GridControl.VisislbRowCount property instead of the data source row count.

TheSean