Hi all!
To bind a textblock to a ComboBox Id would normally write the following:
<TextBlock Text="{Binding SelectedValue, ElementName=CB1}" />
However, if I move this binding to a FieldLabel instead, it does not work:
<igDP:Field Name="Price" Label="{Binding SelectedValue, ElementName=CB1}" >
Output says someting like "the property Name couldn't bind since the element it's trying to bind to is null":
How should I write my binding for this to work?
As explained in this thread, a Field is not in the element tree, so it cannot use ElementName bindings. That thread shows how to use my DataContextSpy utility class to set up a binding on a Field's property.
Josh