Hi,
I have a combobox in my application that has this binding on the SelectedItem
The back end property is define as follows
My problem is that the above binding will try to get the property, this is not the expected behavior for this type of binding.
Can you suggest a work around you come up with fix ?
Thank you,
I have a combobox in my application that has this binding on the SelectedItem
SelectedItem="{Binding Path=Food, Mode=OneWayToSource}">
The back end property is define as follows
public
Food Food
{
get
{
return
_food; }
set
{ _food = value; }
}
My problem is that the above binding will try to get the property, this is not the expected behavior for this type of binding.
Can you suggest a work around you come up with fix ?
Thank you,