/// <summary>
        /// Raises a PropertyValueChanging event.
        /// </summary>
        /// <param name="e">The property value changed event arguments.</param>
        protected virtual void OnPropertyValueChanging(IPropertyValueChangingEventArgs e)
        {
            Debug.Assert(e != null);

            // Calls the property value changing event handlers.
            PropertyValueChanging?.Invoke(this, e);
        }
Esempio n. 2
0
 protected void RaisePropertyValueChanging(PropertyValueChangingEventArgs args)
 {
     PropertyChanging?.Invoke(this, args);
     PropertyValueChanging?.Invoke(this, args);
 }
 protected virtual void FirePropertyValueChanging(CellValueChangedEventArgs args)
 {
     PropertyValueChanging?.Invoke(this, new PropertyValueChangedEventArgs(args, PropertyGridControl.GetPropertyDescriptor(args.Row)));
 }