This documentation is archived and is not being maintained.

WizardDesigner::OnComponentChanged Method

Called when the associated control changes.

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

public:
virtual void OnComponentChanged(
	Object^ sender, 
	ComponentChangedEventArgs^ ce
) override

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

Supported in: 4, 3.5 SP1, 3.0 SP2, 2.0 SP2

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: