WPF工具包DataGrid的 - 寻找唯一可见/当前可见的行 [英] WPF Toolkit DataGrid - Finding only visible/currently viewable rows

查看:229
本文介绍了WPF工具包DataGrid的 - 寻找唯一可见/当前可见的行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用WPF工具包的数据网格来显示搜索结果集。按照再<一个href="http://stackoverflow.com/questions/2967734/is-threadpool-appropriate-for-this-threading-scenario/">scenario在我的其他问题我希望能够到$在DataGrid p $ P取二次结果,我的每个可视(即,可见滚动区域内)行。

I'm using the WPF Toolkit's DataGrid to display a set of search results. As per then scenario in my other question I want to be able to pre-fetch secondary results for each of my viewable (that is, within the visible scroll area) rows in the datagrid.

我希望能够为:

  • 查询查看行
  • 引发一个事件时,行成为可见(通过垂直滚动)

注:可能的复制? [但是,如果没有有效的答案/结果] - 任何人有任何联系/ code样本,以实现这一目标。

NOTE: Possible duplicate? [But without validated answer/outcome] - Anyone have any links/code samples to achieve this?

推荐答案

我已经看过这个previously,并没有找到一个解决方案。

I have looked at this previously and have not found a solution.

您说的是数据虚拟化,而我还没有找到一种方法,用WPF数据网格很容易获得与xceed格专业版(内置)做到这一点,的这里是,你可以建立在,用他们实现,你可以建立一个知道这行已经加载一个模型的另一个解决方案/从那里要求和工作。

You are talking about data virtualization, while i havent found a way to do it with the wpf datagrid it is readily available with the xceed grid pro version(built in), here is another solution that you could build on, using their implementation you could build a model that knows which rows have been loaded/requested and work from there.

这篇关于WPF工具包DataGrid的 - 寻找唯一可见/当前可见的行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆