protected virtual void OnPropertyChanged <TValue>( object sender, string propertyName, PropertyChangeKind kind, TValue oldValue, TValue newValue, int index ) { if (!_IsPropertyChangedEmpty) { var e = new DetailedPropertyChangedEventArgs <TValue>(propertyName, kind, oldValue, newValue, index); OnPropertyChanged(sender, e); } }
// ======================================== // constructor // ======================================== public DetailedPropertyChangingEventArgs(string propertyName, PropertyChangeKind kind) : base(propertyName) { _kind = kind; _index = -1; _isIndexed = false; }
public DetailedPropertyChangingEventArgs(string propertyName, PropertyChangeKind kind, int index) : base(propertyName) { _kind = kind; _index = index; _isIndexed = true; }
public virtual void NotifyPropertyChanged <TValue>( object sender, string propertyName, PropertyChangeKind kind, TValue oldValue, TValue newValue, int index ) { base.OnPropertyChanged <TValue>(sender, propertyName, kind, oldValue, newValue, index); }