I am trying to bind an element inside a collection, but the index for this element should be "variable". Take the following pseudo syntax, for example:
<TextBlock Text="{Binding Fields[{Binding Pos}]}" />
Is something like this possible? If my Pos property is 1, it should bind to the first item from the Fields collection, and if my Pos is 3, it should bind to the third item in the collection. I simplified my problem in this situation ...
Something like this is doable and how?
source
share