This question is locked. New answers and comments are not allowed.
Hi,
I have a RadCombo in a view that in bound to a ViewModel. SelectedValue of RadCombo is bound to a property Selected with a backing field. Under certain circumstances I need to "reject" user changes to the selection. In order to achieve this I did the following
However the RadCombo still shows the "rejected" value instead.
I am running Version 2011.3.1116.1040.
Thank you for your help!
I have a RadCombo in a view that in bound to a ViewModel. SelectedValue of RadCombo is bound to a property Selected with a backing field. Under certain circumstances I need to "reject" user changes to the selection. In order to achieve this I did the following
private
TL _selected;
public
TL Selected
{
get
{
return
_selected; }
set
{
if
(<
some condition
-> don't change selection>)
{
RaisePropertyChanged(
"Selected"
);
return
;
}
_selected = value;
RaisePropertyChanged(
"Selected"
);
}
}
However the RadCombo still shows the "rejected" value instead.
I am running Version 2011.3.1116.1040.
Thank you for your help!