protected void EndEdit(PropertyValueEditedEventArgs e) { if (OnEdited != null) { OnEdited(this, e); } }
protected bool BeginEdit(PropertyValueEditedEventArgs e) { if (OnEditing != null) { PropertyValueEditingEventArgs e1 = new PropertyValueEditingEventArgs(e.PropertyName, e.OldValue, e.NewValue, false); OnEditing(this, e1); if (e1.Cancel) { return false; } } return true; }