-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Description
StackOverflowException in binding when property is changed in setter before raise property changed.
That's probably the root reason for problem in #824
Example if you bind a listbox selected Item to property selected item and property is like:
set
{
if (_selectedItem != value)
{
int index = Items.IndexOf(value);
if (index > 1)//or some other logic that's changing the current value
{
_selectedItem = Items[index - 1];
}
else
{
_selectedItem = value;
}
this.RaisePropertyChanged();
}
}Metadata
Metadata
Assignees
Labels
No labels