WizardDesigner.OnComponentChanged Method (Object, ComponentChangedEventArgs)

 

Called when the associated control changes.

Namespace:   System.Web.UI.Design.WebControls
Assembly:  System.Design (in System.Design.dll)

public override void OnComponentChanged(
	object sender,
	ComponentChangedEventArgs ce
)

Parameters

sender
Type: System.Object

The source of the event.

ce
Type: System.ComponentModel.Design.ComponentChangedEventArgs

The event data.

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 method to provide additional processing before you persist the control and before you refresh the design-time HTML markup.

When you override the OnComponentChanged method in a derived class, make sure that you call the OnComponentChanged method for the base class so that registered delegates receive the event.

.NET Framework
Available since 2.0
Return to top
Show: