IComponentChangeService.ComponentChanging Event

Definition

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

public:
 event System::ComponentModel::Design::ComponentChangingEventHandler ^ ComponentChanging;
event System.ComponentModel.Design.ComponentChangingEventHandler ComponentChanging;
member this.ComponentChanging : System.ComponentModel.Design.ComponentChangingEventHandler 
Event ComponentChanging As ComponentChangingEventHandler 

Event Type

Remarks

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.

Applies to

See also