This documentation is archived and is not being maintained.

ControlDesigner.OnComponentChanging 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)

public virtual void OnComponentChanging (
	Object sender,
	ComponentChangingEventArgs ce
)
public void OnComponentChanging (
	Object sender, 
	ComponentChangingEventArgs ce
)
public function OnComponentChanging (
	sender : Object, 
	ce : ComponentChangingEventArgs
)
Not applicable.

Parameters

sender

The object that is the source of the event.

ce

A ComponentChangedEventArgs object that contains the event data.

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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: