A runtime form designer control

FormDesigner.ComponentAdding Event

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

[Visual Basic]
Public Event ComponentAdding As ComponentEventHandler 
[C#]
public event ComponentEventHandler ComponentAdding;
[C++]
public: __event ComponentEventHandler* ComponentAdding;

[JScript] In JScript, you can use the events defined by a type, but you cannot define your own.

Remarks

This event occurs during load and when the user creates a new component. You can cancel the process of adding a component by throwing an exception here.

See Also

FormDesigner Class | Viklele.Win.Designer Namespace | ComponentAdded | ComponentRemoving | ComponentRemoved