MonitorSelectionServiceHelper Members
Include Protected Members
Include Inherited Members
Helper class to listen to document selection changes and raise events to other doc windows or tool windows to make related changes, such as content refresh, watermark change, or undo/redo stack changes.
The MonitorSelectionServiceHelper type exposes the following members.
Methods
Name | Description | |
---|---|---|
Dispose | Releases resources. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetInstance | Returns an instance of this class. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Initialize | Initializes an instance of this class. | |
IsCommandContextActive | Returns whether the current CommandContext is active. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
SEID_DocumentFrame | Value is 2. | |
SEID_LastWindowFrame | Value is 7. | |
SEID_PropertyBrowserSID | Value is 4. | |
SEID_ResultList | Value is 6. | |
SEID_StartupProject | Value is 3. | |
SEID_UndoManager | Value is 0. | |
SEID_UserContext | Value is 5. | |
SEID_WindowFrame | Value is 1. |
Top
Properties
Name | Description | |
---|---|---|
CurrentDocument | Gets the currently-selected document. | |
CurrentDocumentView | Gets the currently-selected document window. | |
CurrentSelectionContainer | Gets the current SelectionContainer. | |
CurrentUndoManager | Gets the current Undo manager. | |
CurrentWindow | Gets the currently-selected window. | |
CurrentWindowFrame | Gets the currently-selected window frame. | |
LastHierarchySelectChangeTime | Gets or sets the last environment tick count when a selection changed. | |
MonitorSelection | Gets the cached monitor selection object. |
Top
Events
Name | Description | |
---|---|---|
DocumentChanged | Called when the doc data changes. | |
DocumentWindowChanged | Called when the document window changes. | |
SelectionChanged | Called when selection changes. | |
UndoManagerChanged | Called when the current undo manager changes. | |
WindowChanged | Called when the window frame changes. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IVsSelectionEvents.OnCmdUIContextChanged | ||
IVsSelectionEvents.OnElementValueChanged | ||
IVsSelectionEvents.OnSelectionChanged |
Top
See Also
Reference
MonitorSelectionServiceHelper Class
Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace