ControlDesignerOnComponentChanging Method
 

Represents the method that will handle the ComponentChanging event for the associated control.

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

Syntax
public virtual void OnComponentChanging(
	object sender,
	ComponentChangingEventArgs ce
)
public:
virtual void OnComponentChanging(
	Object^ sender,
	ComponentChangingEventArgs^ ce
)
abstract OnComponentChanging : 
        sender:Object *
        ce:ComponentChangingEventArgs -> unit
override OnComponentChanging : 
        sender:Object *
        ce:ComponentChangingEventArgs -> unit
Public Overridable Sub OnComponentChanging (
	sender As Object,
	ce As ComponentChangingEventArgs
)

Parameters

sender
Type:

The object that is the source of the event.

ce
Type:

A ComponentChangedEventArgs object that contains the event data.

Remarks

When either the InvokeTransactedChange or Localize method is called, the ComponentChanging event occurs before any changes are made to the associated control. After the changes are complete, the OnComponentChanged method occurs.

Version Information
.NET Framework
Available since 2.0
Return to top