/// <summary> /// Raises the <see cref="E:PropertyChanging"/> event. /// </summary> /// <param name="e">The <see cref="System.ComponentModel.PropertyChangingEventArgs"/> instance containing the event data.</param> protected virtual void OnPropertyChanging(PropertyChangingEventArgsEx e) { PropertyChangingEventHandlerEx handler = this.PropertyChanging; if (handler != null) { handler(this, e); } }
protected virtual bool OnPropertyChanging(string propName) { PropertyChangingEventHandlerEx changingEventHandlerEx = this.Events[RadDockObject.EventPropertyChanging] as PropertyChangingEventHandlerEx; if (changingEventHandlerEx != null) { changingEventHandlerEx((object)this, new PropertyChangingEventArgsEx(propName)); } return(true); }
protected virtual void OnPropertyChanging(PropertyChangingEventArgsEx e) { PropertyChangingEventHandlerEx propertyChanging = this.PropertyChanging; if (propertyChanging == null) { return; } propertyChanging((object)this, e); }
/// <summary> /// Raises the PropertyChanging notification. /// </summary> /// <param name="propName"></param> /// <returns>True to indicate that the change is accepted, false otherwise.</returns> protected virtual bool OnPropertyChanging(string propName) { PropertyChangingEventHandlerEx eh = this.Events[EventPropertyChanging] as PropertyChangingEventHandlerEx; if (eh != null) { eh(this, new PropertyChangingEventArgsEx(propName)); } return(true); }
public FilterParameterDictionary() { this.pceh = new PropertyChangedEventHandler(this.ItemPropertyChanged); this.pceh2 = new PropertyChangingEventHandlerEx(this.ItemPropertyChanging); }