开发者

DevExpress WPF Grid - get number of rows

Does anyone knows how to get a DevExpress WPF Grid Rows c开发者_如何学编程ount?


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.


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 ?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜