Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 {
	void add(ComponentChangingEventHandler^ value);
	void remove(ComponentChangingEventHandler^ value);
}

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.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft