WizardDesigner.OnComponentChanged(Object, ComponentChangedEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the associated control changes.
public:
override void OnComponentChanged(System::Object ^ sender, System::ComponentModel::Design::ComponentChangedEventArgs ^ ce);
public override void OnComponentChanged (object sender, System.ComponentModel.Design.ComponentChangedEventArgs ce);
override this.OnComponentChanged : obj * System.ComponentModel.Design.ComponentChangedEventArgs -> unit
Public Overrides Sub OnComponentChanged (sender As Object, ce As ComponentChangedEventArgs)
Parameters
- sender
- Object
The source of the event.
The event data.
Remarks
The OnComponentChanged method is called when a property of the associated control is changed. This lets you perform any processing that is required after a property change.
Notes to Inheritors
Override the OnComponentChanged(Object, ComponentChangedEventArgs) method to provide additional processing before you persist the control and before you refresh the design-time HTML markup.
When you override the OnComponentChanged(Object, ComponentChangedEventArgs) method in a derived class, make sure that you call the OnComponentChanged(Object, ComponentChangedEventArgs) method for the base class so that registered delegates receive the event.