public void HandleNotifyPropertyChanged(object sender, PropertyChangedEventArgs e)
{
if (CanHandleNotifyPropertyChanged(e.PropertyName))
{
var value = GetValue();
if (_DataContextValue != null && _DataContextValue != value)
{
ResetCollection(_DataContextValue as INotifyCollectionChanged, value as IList);
}
if (_Value != null && _Value != value)
{
ResetCollection(_Value as INotifyCollectionChanged, value as IList);
}
}
}