Binding on a List<UserControl>

I got some binding issues...

Shapes is a list of customized UserControls, for example one of those UserControl can be an Ellipse with some specific properties. My goal is to loop on this list and show all the UserControls (it can be an Ellipse, or a Rectangle...) I just want to show the UserControl like if I would just prompt his XAML Content.

Here is my grid, i just don't know what to put in the DataTemplate, i tried some different things but nothing worked actually, hope some can help me :)

    <s:ScatterView ItemsSource="{Binding Shapes}">
            <Style TargetType="s:ScatterViewItem">
                <Setter Property="Background" Value="Transparent"></Setter>
                <class:Shape ShapeItem="{Binding}" />


as mention in comment.if your ShapeItem is UserControl try to bind that with Content Property.

Need Your Help

Static PHP profiler for scripts that are not running off a webserver?

php scripting profiler

So I've been trying to debug some code written by someone else but it's messy because I have to trace through several files and arrays just to get one thing out of it.

Visualforce: Display link to a document in the Documents folder.

salesforce apex-code visualforce

I am trying to display a link on a custom VF page to a word document which has been uploaded to a folder in the Documents tab.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.