开发者

How can I know what rows are visibile within a WPF DataGridView?

开发者 https://www.devze.com 2023-03-09 16:06 出处:网络
Is there a way to determine what data grid rows/cells are being show in the 开发者_JAVA技巧WPF DataGrid within the scrollviewer\'s bounds at any one time?You could look into the LoadingRow event, but

Is there a way to determine what data grid rows/cells are being show in the 开发者_JAVA技巧WPF DataGrid within the scrollviewer's bounds at any one time?


You could look into the LoadingRow event, but you may have to create something more complex if that doesn't work. For instance, you may have to iterate each DataGridRow and check its Visibility/IsVisible or DataContext.

;)

0

精彩评论

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

关注公众号