Click here to Skip to main content
15,883,901 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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.http://pastebin.com/u8C7ddP0[^]

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
Comments
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900