« Release 11 features: UIControlSuite .NET | Main | UIControlSuite Release 11 plans »

July 19, 2009

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00e39825759e8833011572187fde970b

Listed below are links to weblogs that reference Release 10.5 - New Silverlight 3 .NET control: UI Virtualizing Wrap Panel:

Comments

Hi Sundar,
I have a problem with implementing the Virtualizing WrapPanel myself. I took the lead from Dan Crevier's blog and certain other sources on the web to implement the panel.
I was hit when trying to set the Background property of the panel. Dan Crevier had simulated the scroll behavior by setting the RenderTransform property of the Panel with a Translation matrix. When I set the Background to some arbitrary color, and then I scroll, I can see that the entire panel is not painted with the color. Rather whatever was visible in the initial viewport was painted with that background. When scrolled down, the background is gone for the newly scrolled-in regions.
I was wondering if you could assist me in explaining why the behavior is so, and how I can fix it.
Thanks,
Karthik.

sorry I forgot to provide the link to Dan Crevier's blog.
Here it is, in case u haven't seen it.

http://blogs.msdn.com/dancre/archive/2006/02/06/526310.aspx

Hi Karthik,

Thanks for visiting my blog.

I am not sure about Dan's implementation, so i can't justify any comment on his code.

All that said, i don't see the problem you are describing, in my controls - i.e. in both the WPF and Silverlight 3 implementations.

You can see that fact even now with my online demonstration of my virtualizing wrappanel for silverlight 3 from here:

http://www.binarymission.co.uk/binaryvirtwrappanelsl3/BinaryVirtualizingWrapPanelSLApplicationDemo.html

You will need Silverlight 3 runtime installed for this to work.

You can type a color of your choice in that demo web page, and see that the panel manages to apply the colors correctly all through, and not only in its initial viewport area.

Also you can download my WPF implementation of this control, and you can see that you can set any color of your choice as the panel's background, and my virtualizing wrappanel will apply it at various points in item of its content scrolling, without any issues.

As for Dan's code is concerned, its not correct for me to review and provide comments on his code. So unfortunately i can't answer that question.

But i guess you might be able to post the same question to him on his blog, and maybe he will reply.

Cheers for visiting my blog anyway ;-)

Sundar
Director and Software Architect,
Binarymission, UK.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Comments are moderated, and will not appear until the author has approved them.