Click here to Skip to main content
15,179,246 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
As subject explains...if i try to do so then it gives me error "ItemsControl.Items must not contain UIElement when ItemTemplate is set"
I created a UserControl layout template which is deriving from ItemsControl and is List<uielements>. How can I apply ItemTemplate on it to have each child UIElement within the Layout control in a group(having an header and surrounded by rectangular border). or any other method.

Any answer will be greatly appreciated...

GK Prajapati
Updated 26-Sep-13 10:03am

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