开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜