Hi there.
We have the same problem, but it only occurs, if the binded property has a OnPropertyChanged - implementation in its setter:
public class SomeClass : SomeBaseClass
{
private string _name;
public string Name
{
get { return _name; }
set
{
_name = value;
OnPropertyChanged();
}
}
}
And in the base class:
public class SomeBaseClass
{
[NotifyPropertyChangedInvocator]
protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
{
var handler = PropertyChanged;
if (handler == null) return;
var prop = new PropertyChangedEventArgs(propertyName);
handler(this, prop); <-- here happens the exception
}
}
public class SomeBaseClass : INotifyPropertyChanged
{
[NotifyPropertyChangedInvocator]
protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
///
/// |
public class SomeBaseClass : INotifyPropertyChanged
{
private ArrayList list;
///
/// Some Code
///
} |