ComponentChanging Event
Collapse the table of content
Expand the table of content

IComponentChangeService.ComponentChanging Event

Occurs when a component is in the process of being changed.

Namespace: System.ComponentModel.Design
Assembly: System (in system.dll)

event ComponentChangingEventHandler ComponentChanging
/** @event */
void add_ComponentChanging (ComponentChangingEventHandler value)

/** @event */
void remove_ComponentChanging (ComponentChangingEventHandler value)

In JScript, you can handle the events defined by a class, but you cannot define your own.
Not applicable.

This event occurs before the component is actually changed, and gives the designer a chance to abort the change or perform any pre-change processing. This event does not occur during form load and unload, because changes are expected at this time.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, 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, 1.1, 1.0

Community Additions

ADD
Show:
© 2016 Microsoft