views:

1514

answers:

1

I have a DataTamplate for my ItemsControl that merely contains an Image with some other meta data. What I am trying to do is bind to the ItemsControl and have the Images be displayed with the Convas.Left and Canvas.Top that is bound via the data I give.

I have been trying my best to remove any Panels from the control via the ItemsPanelTemplate, so I can use the Attached Properties in the parent canvas, but it seems that you will always get a StackPanel by default.

Anyone out there have any good ideas?

Thanks, Dave

+5  A: 
Peter McGrattan
Thanks Peter. This is pretty much what I had but never quite got it to work. I'll take this and refactor now.Dave