0

I wrote some controler that have itemsControl. Each item in the control is some UserControl that i wrote.

I want to make a binding between the Item source and some collection that i hold:

The Itemscontrol:

 <ItemsControl x:Name="itemsControl" Background="White" > <ItemsControl.Template> <ControlTemplate> <ScrollViewer x:Name="ScrollViewer" Padding="{TemplateBinding Padding}" > <ItemsPresenter /> </ScrollViewer> </ControlTemplate> </ItemsControl.Template> </ItemsControl> 

The collection that i want to bind with is some List that hold object that will be use to create some 'usercontrol' that will be added to the itemsControl.

How can i do it ? ( i try to do binding to ItemSource - but i dont know how to do it right )

1 Answer 1

1

just have look at think link

One stack panel for each record inside table

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.