ModelingWindowPane.SelectionChanging Event

Occurs when the selection in the modeling window is about to change.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'宣言
Public Event SelectionChanging As EventHandler
'使用
Dim instance As ModelingWindowPane
Dim handler As EventHandler

AddHandler instance.SelectionChanging, handler
public event EventHandler SelectionChanging
public:
virtual  event EventHandler^ SelectionChanging {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
JScript does not support events.

Implements

ISelectionService.SelectionChanging

Remarks

If a client needs to be notified when the selection in the modeling window changes, the client must register an event handler.

Permissions

See Also

Reference

ModelingWindowPane Class

ModelingWindowPane Members

Microsoft.VisualStudio.Modeling.Shell Namespace