Devexpress XPInstantFeedbackSource 与 XPServerCollectionSource?
我需要在 DXGrid(WPF) 中加载大量数据,我知道我必须使用 XPInstantFeedbackSource 或 XPServerCollectionSource 达到要求,但不知道使用哪一个,对缺点和优点有什么想法吗?
I need to load a huge amount of data in DXGrid(WPF) , I know that i have to use XPInstantFeedbackSource or XPServerCollectionSource to achieve the requirements, but dont know which one to use , any idea on cons and pros?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
XPInstantFeedbackSource 和 XPServerCollectionSource 都是服务器模式数据源。在此模式下,数据感知控件向绑定数据源发送请求,以在需要时检索数据的适当部分。有两种不同的服务器模式,它们在控件与绑定数据源交互的方式上有所不同:
重要说明:所有即时反馈源都是只读数据源。要在服务器模式下启用数据编辑,请使用服务器模式源并设置 AllowEdit 属性为真。
附言。与常规数据绑定模式一样,在服务器模式下,绑定控件允许对数据进行编辑、排序、分组和过滤。要了解服务器模式的限制,请参阅服务器模式限制。
PPS 另请参阅以下文章:绑定到数据
更新:

InstantFeedBack UI(tm) 的真实 CPU 使用情况(笔记本电脑、Intel Core i5、2.67 GHc、8GB RAM、NVIDIA GeeForce GT 425M、Win7x64):
CPU 总使用率仅强烈依赖于 WPF 渲染子系统性能 (wpfgfx_v0400.dll)。
Both the XPInstantFeedbackSource and the XPServerCollectionSource are server mode data sources. In this mode a data-aware control sends requests to a bound data source to retrieve appropriate portions of data when required. There are two distinct server modes that differ in the way controls interact with bound data sources:
Important note: all the Instant Feedback Sources are a read-only data sources. To enable data editing in server mode, use the Server Mode Sources with the AllowEdit property set to true.
PS. As in regular data-binding modes, in server modes, bound controls allow data to be edited, sorted, grouped and filtered. To learn about the limitations of server modes, see Server Mode Limitations.
P.P.S. Please also take a look at the following article: Binding to Data
UPDATE:

Real CPU usage of InstantFeedBack UI(tm) (Notebook, Intel Core i5, 2.67 GHc, 8gb RAM, NVIDIA GeeForce GT 425M, Win7x64):
The total CPU Usage strongly depends only of WPF rendering subsystem performance (wpfgfx_v0400.dll).