Condividi tramite


ModelingWindowPane.SelectionChanged Event

Fired after the selection in the window pane has changed.

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

Syntax

'Declaration
Public Event SelectionChanged As EventHandler
public event EventHandler SelectionChanged
public:
virtual   event EventHandler^ SelectionChanged {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
abstract SelectionChanged : IEvent<EventHandler,
    EventArgs>
override SelectionChanged : IEvent<EventHandler,
    EventArgs>
JScript does not support events.

Implements

ISelectionService.SelectionChanged

Remarks

If a client needs to be notified after the selection in the window pane changes, the client should register a handler for this event.

This method implements the IMonitorSelectionService interface.

.NET Framework Security

See Also

Reference

ModelingWindowPane Class

Microsoft.VisualStudio.Modeling.Shell Namespace