There is some generic class
public class GenericClass<T> { public object this[string s] { return s; } }
Well, an instance of the class is used as a DataContext. Then to call from xaml there will be such a markup.
<TextBlock Text="{Binding [qwer]}"/>
and it will return the text "qwer".
The question is, is it possible to get rid of square brackets with any tricks? There is a class DataView, how is it implemented there?
DisplayMemberPath
. - iRumba