AddNotifyPropertyChangedHandler() public method

public AddNotifyPropertyChangedHandler ( object value, IHandleNotifyPropertyChanged handler ) : void
value object
handler IHandleNotifyPropertyChanged
return void
        protected virtual void SetDataContext(MemberData value)
        {
            if (_DataContext != value)
            {
                _DataContext = value;
                var newValue = _DataContext.Value;
                SetValue(newValue);
            }

            if (_DataContext != null)
            {
//				if (_DataContext.Source != null)
//					_DataContext.AddNotifyPropertyChangedHandler(_DataContext.Source, this);

                if (_DataContext.DataContextSource != null)
                {
                    _DataContext.AddNotifyPropertyChangedHandler(_DataContext.DataContextSource, this);
                }
            }
        }