I have a XamDataGrid with a ObservableCollection of Items as DataSource. An Item has two properties A and B and both A and B have a Value property. I want to bind these two Value properties to my two Fields.
Obviously something like this does not work:
<Field Name="A.Value"/>
I read something about AlternateBinding, but that does not work for me either:
<Field AlternateBinding="A.Value"/>
I have not found a good tutorial on how to use AlternateBinding, so I don't really know how to use it.
EDIT:
It works when I'm using an UnboundField like this:
<UnboundField Name="Value" BindingPath="A.Value" BindingMode="TwoWay"/>
However it says that UnboundField is deprecated and I should use Field. I wish I knew how.