NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ISelectionService SelectionChanging Event

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
);

Parameters

sender
The source of the event.
e
An EventArgs that contains the event data. The following EventArgs properties provide information specific to this event.
Property Description
ExtendedInfo
Holds a reference to an object that manages the event's state.

Remarks

A selection changing event will occur every time the user changes the current list of selected components in the designer.

See Also

ISelectionService Interface | ISelectionService MembersTopic | System.ComponentModel.Design Namespace