A runtime form designer control

FormDesigner.SelectionChanged Event

Occurs when the current selection changes.

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

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

Event Data

The event handler receives an argument of type SelectionEventArgs containing data related to this event. The following SelectionEventArgs properties provide information specific to this event.

PropertyDescription
Components Get an array of components involved in selection change.
SelectionType An enumerated value indicating the type of selection being performed.

Remarks

Minimize processing when handling this event, because processing that occurs within this event handler can significantly affect the overall performance of the FormDesigner.

See Also

FormDesigner Class | Viklele.Win.Designer Namespace | ComponentSelecting | SelectionChanging