IMonitorSelectionService Interface
Monitors the current selection state in the shell.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
| Name | Description | |
|---|---|---|
![]() | CurrentDocument | Gets the active document. |
![]() | CurrentDocumentView | Gets the active document view. |
![]() | CurrentSelectionContainer | Gets the active selection container. |
![]() | CurrentUndoManager | Gets the UndoManager that is assigned to the document window that is active. |
![]() | CurrentWindow | Gets the document pane or tool window pane that is active. |
![]() | CurrentWindowFrame | Gets the document frame or tool window frame that is active. |
| Name | Description | |
|---|---|---|
![]() | GetCommandContextCookie(Guid) | Gets the cookie that is assigned to the specified command UI context. |
![]() | IsCommandContextActive(Guid) | Verifies whether the specified command UI context is active. |
![]() | IsCommandContextActive(UInt32) | Verifies whether the command UI context for the specified cookie is active. |
| Name | Description | |
|---|---|---|
![]() | CommandContextChanged | Occurs when the command UI context is activated or deactivated. |
![]() | DocumentChanged | Occurs when the document changes. |
![]() | DocumentWindowChanged | Occurs when the document window changes. |
![]() | SelectionChanged | Occurs when the current selection changes. |
![]() | UndoManagerChanged | Occurs when the current UndoManager changes. |
![]() | WindowChanged | Occurs when the window frame changes. |


