DevExpress WPF Grid - get number of rows

Vytas picture Vytas · Nov 20, 2009 · Viewed 8.1k times · Source

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

Answer

TheSean picture TheSean · Aug 17, 2010

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