How to get relative source of item in ItemTemplate

Posted by plotnick on Stack Overflow See other posts from Stack Overflow or by plotnick
Published on 2010-04-14T17:19:20Z Indexed on 2010/04/14 17:23 UTC
Read the original article Hit count: 318

I have a ListBox with specified ItemTemplate. And the ItemTemplate contain itself ListView and I want to display in that ListView a collection, which is actually a property of the item of the ListBox.

Could you show me how to do Binding. I'm thinking about RelativeSource thing, but I don't know what correct syntax would look like...

© Stack Overflow or respective owner

Related posts about relativesource

Related posts about binding