System.Web.UI.Design.ControlDesigner.OnComponentChanged Method

Called when the associated control changes.

Syntax

public virtual void OnComponentChanged (object sender, System.ComponentModel.Design.ComponentChangedEventArgs ce)

Parameters

sender
The source of the event.
ce
A System.ComponentModel.Design.ComponentChangedEventArgs object that contains the event data.

Remarks

The ControlDesigner.OnComponentChanged(object, System.ComponentModel.Design.ComponentChangedEventArgs) method is called when a property on the associated control is changed. It allows the implementer to do any processing that might be required after a property change. Calling the ControlDesigner.OnComponentChanged(object, System.ComponentModel.Design.ComponentChangedEventArgs) method causes the design host to call the erload:System.Web.UI.Design.ControlDesigner.GetDesignTimeHtml method. The base implementation of the ControlDesigner.OnComponentChanged(object, System.ComponentModel.Design.ComponentChangedEventArgs) method also persists the control in the page markup.

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0