Click here to Skip to main content
13,089,818 members (47,707 online)
Rate this:
Please Sign up or sign in to vote.
This what i am trying to achieve with WPF. A textblock as title and below buttons in a wrappanel .The problem is that this needs scrolling etc. I have achieved this using ItemsControl and binding for each group. I have an ItemsControl that has a stackpanel as paneltemplate and its itemtemplate is a textblock and a wrappanel .

It works but it is slow at instantiation at slow intel gma + atom machines when items are many . It seems that rendering isnt the problem but creation of the Visual Tree. So my only bet here is to create a custom panel with virtualization i guess?

Here is what i have done.[^]

Above solution is slow at some machines.

I am looking for a solution that it would take max 100ms at slow machines to create.
To all who knows the answer of my question please help me.I really need to have an answer of this.

Thank you
Posted 1-Jul-13 22:32pm
NightCodeStalker 2-Jul-13 23:21pm
To all experts ==== Please help me solve this out.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.170813.1 | Last Updated 2 Jul 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100