WrapPanel Tool in Silverlight 4

This seems like such a stupid question, but I canโ€™t figure out for me how to use the WrapPanel in the last (April) Silverlight toolkit application.

Apparently, they thought it would be nice to change the namespace / assembly around, and not put anything on their codeplex site about it. And their patterns for these controls do not display all of the code (for example, where they register these namespaces).

Any help would be appreciated.

+4
source share
3 answers

What have you tried? From what I can say from the source, there should be something like:

<UserControl ... xmlns:tk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"> <tk:WrapPanel/> </UserControl> 

Note that it doesnโ€™t really matter if they changed assemblies or even namespaces because they have mapped the corresponding CLR namespaces to http://schemas.microsoft.com/winfx/2006/xaml/presentation/tools.

+3
source

A sigh is what you need:

 xmlns:wp="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit" 

Hope someone else stumbles here and saves time.

+3
source

Try setting ScrollViewer.HorizontalScrollBarVisibility = "Disabled" in your list

Found that here

http://blogs.msdn.com/b/synergist/archive/2009/01/19/using-silverlight-toolkit-wrappanel-in-your-listbox.aspx

+1
source

All Articles