ModelingWindowPane.SelectionChanging Event
Fired before the selection in the window pane changes.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'宣言
Public Event SelectionChanging As EventHandler
public event EventHandler SelectionChanging
public:
virtual event EventHandler^ SelectionChanging {
void add (EventHandler^ value);
void remove (EventHandler^ value);
}
abstract SelectionChanging : IEvent<EventHandler,
EventArgs>
override SelectionChanging : IEvent<EventHandler,
EventArgs>
JScript does not support events.
Implements
ISelectionService.SelectionChanging
Remarks
If a client needs to be notified before the selection in the window pane changes, the client should register a handler for this event.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.