This question is locked. New answers and comments are not allowed.
Hi,
I have a very simple question:
how to tell silverlight to bind with the DataMemberBinding as a source in a CellTemplate?
I had put the following in a xaml:
<my:MyGridCol.CellTemplate>
<DataTemplate>
<TextBlock Text="{Binding Name}" />
</DataTemplate>
</my:MyGridCol.CellTemplate>
The problem is that "Name" is relative to the current row object and not the value of the DataMemberBinding for that object.
How can I tell silverlight to bind to the value of the DataMemberBinding?
Thank you.
I have a very simple question:
how to tell silverlight to bind with the DataMemberBinding as a source in a CellTemplate?
I had put the following in a xaml:
<my:MyGridCol.CellTemplate>
<DataTemplate>
<TextBlock Text="{Binding Name}" />
</DataTemplate>
</my:MyGridCol.CellTemplate>
The problem is that "Name" is relative to the current row object and not the value of the DataMemberBinding for that object.
How can I tell silverlight to bind to the value of the DataMemberBinding?
Thank you.
