资源和导游在WPF UI虚拟化导游、资源、UI、WPF

由网友(等待、何时)分享简介:UI虚拟化是一种笨拙的术语描述的WPF UI控件负荷和和处置按需子元素(根据其可见性),以减少内存占用。列表框和ListView使用一类叫做VirtualizingStackPanel默认情况下,获得更高的性能。 UI Virtualization is an awkward terminology that de...

UI虚拟化是一种笨拙的术语描述的WPF UI控件负荷和和处置按需子元素(根据其可见性),以减少内存占用。列表框和ListView使用一类叫做VirtualizingStackPanel默认情况下,获得更高的性能。

UI Virtualization is an awkward terminology that describes WPF UI controls that load and and dispose child elements on demand (based on their visibility) to reduce memory footprint. ListBox and ListView use a class called VirtualizingStackPanel by default to achieve higher performance.

我发现这种控制,这是真正有用的,其产生,管理它的孩子与一个四叉树可滚动的Canvas对象虚拟画布。它会产生一些伟大的结果,并可以很容易地调整到您的需要。

I found this control, which is really helpful, a virtualized canvas which produces a scrollable Canvas object that manages its children with a quadtree. It produces some great results and can easily be tweaked to your needs.

是否有任何其他指南或样品WPF是解决这一问题的控制?也许一般人的那笔交易在其他语言和工具的GUI对象的动态内存分配?

Are there any other guides or sample wpf controls that deal with this issue? Maybe generic one's that deal with dynamic memory allocation of gui objects in other languages and toolkits?

推荐答案

丹Crevier对构建VirtualisingTilePanel.

Dan Crevier has a small tutorial on building a VirtualisingTilePanel.

本·康斯特布尔写了一本教程IScrollInfo,这是虚拟化的一个重要组成部分:的第1部分,第2部分,的Part 4 。

Ben Constable has written a tutorial on IScrollInfo, which is an essential part of the virtualisation: Part 1, Part 2, Part 3 and Part 4.

阅读全文

相关推荐

最新文章