Occurs when the user changes the current list of selected components in the designer. This event is raised before the actual selection changes.
The following declaration shows the syntax for a method that handles the SelectionChanging event.
[Visual Basic] Private Sub ISelectionServiceName_SelectionChanging( _ ByVal sender As Object, _ ByVal e As EventArgs _ ) [C#] private void ISelectionServiceName_SelectionChanging( object sender, EventArgs e ); [C++] private: void ISelectionServiceName_SelectionChanging( Object* sender, EventArgs* e ); [JScript] private ISelectionServiceName_SelectionChanging( sender : Object, e : EventArgs );
Property | Description |
---|---|
|
A selection changing event will occur every time the user changes the current list of selected components in the designer.
ISelectionService Interface | ISelectionService MembersTopic | System.ComponentModel.Design Namespace