开发者

Virtualizing Uniformgrid

Does anyone know if there exists a virtualizing uniformgrid implementation somewhere for WPF that one can use?

I've tried one stackoverflow and Google and found nothing so far.

What I have been using so far 开发者_JAVA百科is a ListBox with a UniformGrid as its ItemsPanel. But that doesn't virtualize.


Yes virtualization is tricky for grids and dockpanels and currently no such control exists in WPF.

But there are a few options...

  1. if you want know how to make a virtualized tile panel (more like a uniform grid and wrappanel) then see this... http://blogs.msdn.com/dancre/archive/2006/02/06/implementing-a-virtualized-panel-in-wpf-avalon.aspx

  2. Otherwise xamDataPresenter can pretty much act like a virtualized uniform grid (see XamDataCard ) and wrap panel. Its 3rd party control though belonging to Infragistics ...


The closest I got yesterday was this VirtualizingTilePanel inspired by Dan Creviers work. Sadly it dropping it in as a repacement for uniformgrid didn't just work out of the box.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜