Sets the given property to the given value by using the undo service, so the property set can be undone by the user.
[Visual Basic] Overloads Overridable Protected Sub SetPropertyWithUndo( _ ByVal comp As IComponent, _ ByVal propertyName As String, _ ByVal newValue As Object _ ) [C#] protected virtual void SetPropertyWithUndo( IComponent comp, string propertyName, object newValue ); [C++] protected: virtual void SetPropertyWithUndo( IComponent* comp, String* propertyName, Object* newValue ); [JScript] protected function SetPropertyWithUndo( comp : IComponent, propertyName : String, newValue : Object );
ComponentDesigner Class | ComponentDesigner Members | System.ComponentModel.Design Namespace | ComponentDesigner.SetPropertyWithUndo Overload List