开发者

DevExpress WPF Grid - get number of rows

开发者 https://www.devze.com 2022-12-11 20:29 出处:网络
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 GridContro

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

精彩评论

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