IMonitorSelectionService Interface

 

Monitors the current selection state in the shell.

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

[CLSCompliantAttribute(false)]
public interface class IMonitorSelectionService

NameDescription
System_CAPS_pubpropertyCurrentDocument

Gets the active document.

System_CAPS_pubpropertyCurrentDocumentView

Gets the active document view.

System_CAPS_pubpropertyCurrentSelectionContainer

Gets the active selection container.

System_CAPS_pubpropertyCurrentUndoManager

Gets the UndoManager that is assigned to the document window that is active.

System_CAPS_pubpropertyCurrentWindow

Gets the document pane or tool window pane that is active.

System_CAPS_pubpropertyCurrentWindowFrame

Gets the document frame or tool window frame that is active.

NameDescription
System_CAPS_pubmethodGetCommandContextCookie(Guid)

Gets the cookie that is assigned to the specified command UI context.

System_CAPS_pubmethodIsCommandContextActive(Guid)

Verifies whether the specified command UI context is active.

System_CAPS_pubmethodIsCommandContextActive(UInt32)

Verifies whether the command UI context for the specified cookie is active.

NameDescription
System_CAPS_pubeventCommandContextChanged

Occurs when the command UI context is activated or deactivated.

System_CAPS_pubeventDocumentChanged

Occurs when the document changes.

System_CAPS_pubeventDocumentWindowChanged

Occurs when the document window changes.

System_CAPS_pubeventSelectionChanged

Occurs when the current selection changes.

System_CAPS_pubeventUndoManagerChanged

Occurs when the current UndoManager changes.

System_CAPS_pubeventWindowChanged

Occurs when the window frame changes.

Return to top
Show: