protected void _raisePropertyChangeRevertedEvent(PropertyChangeRevertedEventArgs e) { if (PropertyChangeReverted != null) { PropertyChangeReverted(this, e); } }
void _editor_PropertyChangeReverted(object sender, PropertyChangeRevertedEventArgs e) { _property.PropertyDescriptor.SetValue( _property.PropertyOwner, e.RestoredValue ); _editor.RefreshProperty(); }