UIContextGuids80 UIContextGuids80 UIContextGuids80 UIContextGuids80 UIContextGuids80 UIContextGuids80 Class

Definition

Provides more GUIDs that are used to identify command contexts.

public ref class UIContextGuids80 abstract
[Windows::Foundation::Metadata::WebHostHidden]
public ref class UIContextGuids80 abstract
[Windows::Foundation::Metadata::WebHostHidden]
class UIContextGuids80 abstract
public abstract class UIContextGuids80
type UIContextGuids80 = class
Public MustInherit Class UIContextGuids80
Inheritance
UIContextGuids80UIContextGuids80UIContextGuids80UIContextGuids80UIContextGuids80UIContextGuids80

Remarks

A command context indicates a particular state Visual Studio is in, for example, a solution is building or debugging is active. Multiple contexts can be active at the same time, for example, a solution is loaded and the solution has multiple projects.

As contexts change, notifications are sent out to parties that have registered themselves with the SVsShellMonitorSelection service (see the AdviseSelectionEvents method). It is also possible to request the state of any context using the methods in the IVsMonitorSelection interface, which in turn is obtained from the SVsShellMonitorSelection service.

VSPackages that have user interface (UI) elements can associate those UI elements with particular command contexts. When those contexts become active or inactive, the VSPackage's associated UI elements are automatically activated or deactivated as well. The VSPackage associates UI elements to the command contexts using the Visual Studio Command Table (.vsct) file that is part of the VSPackage. For more information about .vsct files, see Visual Studio Command Table (.Vsct) Files. These command contexts are defined in the context parameter of the VisibilityItem element. For more information, see VisibilityItem Element.

Command contexts are defined in the header files vsshlids.h and vsshell*.h. More information about where they are defined is given in the Remarks sections of the individual contexts.

In addition to new contexts, this collection of contexts contains all of the contexts in the UIContextGuids set.

Fields

CodeWindow CodeWindow CodeWindow CodeWindow CodeWindow CodeWindow

Specifies a context in which a code window currently has focus.

DataSourceWindowAutoVisible DataSourceWindowAutoVisible DataSourceWindowAutoVisible DataSourceWindowAutoVisible DataSourceWindowAutoVisible DataSourceWindowAutoVisible

Specifies a context in which a data source window is auto visible.

DataSourceWindowSupported DataSourceWindowSupported DataSourceWindowSupported DataSourceWindowSupported DataSourceWindowSupported DataSourceWindowSupported

Specifies a context in which a data source window is supported by the project.

Debugging Debugging Debugging Debugging Debugging Debugging

Specifies a context in which debugging is active.

DesignMode DesignMode DesignMode DesignMode DesignMode DesignMode

Specifies a context where the editor is in design mode.

Dragging Dragging Dragging Dragging Dragging Dragging

Specifies a context that occurs while dragging items in Solution Explorer.

EmptySolution EmptySolution EmptySolution EmptySolution EmptySolution EmptySolution

Specifies a context in which an empty solution has been loaded.

FullScreenMode FullScreenMode FullScreenMode FullScreenMode FullScreenMode FullScreenMode

Specifies a context that is active when Visual Studio is in full screen mode.

NoSolution NoSolution NoSolution NoSolution NoSolution NoSolution

Specifies a context in which no solution is loaded.

NotBuildingAndNotDebugging NotBuildingAndNotDebugging NotBuildingAndNotDebugging NotBuildingAndNotDebugging NotBuildingAndNotDebugging NotBuildingAndNotDebugging

Specifies a context in which the solution is not being built or debugged.

SolutionBuilding SolutionBuilding SolutionBuilding SolutionBuilding SolutionBuilding SolutionBuilding

Specifies a context in which a project or solution is currently being built.

SolutionExists SolutionExists SolutionExists SolutionExists SolutionExists SolutionExists

Specifies a context in which a solution has been loaded.

SolutionExistsAndNotBuildingAndNotDebugging SolutionExistsAndNotBuildingAndNotDebugging SolutionExistsAndNotBuildingAndNotDebugging SolutionExistsAndNotBuildingAndNotDebugging SolutionExistsAndNotBuildingAndNotDebugging SolutionExistsAndNotBuildingAndNotDebugging

Specifies a context in which a solution is loaded and is not being built or debugged.

SolutionHasMultipleProjects SolutionHasMultipleProjects SolutionHasMultipleProjects SolutionHasMultipleProjects SolutionHasMultipleProjects SolutionHasMultipleProjects

Specifies a context in which a loaded solution contains more than one project.

SolutionHasSingleProject SolutionHasSingleProject SolutionHasSingleProject SolutionHasSingleProject SolutionHasSingleProject SolutionHasSingleProject

Specifies a context in which a loaded solution contains a single project.

SolutionOrProjectUpgrading SolutionOrProjectUpgrading SolutionOrProjectUpgrading SolutionOrProjectUpgrading SolutionOrProjectUpgrading SolutionOrProjectUpgrading

Specifies a context in which a solution or project is being upgraded.

ToolboxInitialized ToolboxInitialized ToolboxInitialized ToolboxInitialized ToolboxInitialized ToolboxInitialized

Specifies a context in which the Toolbox is being initialized.

WindowsFormsDesigner WindowsFormsDesigner WindowsFormsDesigner WindowsFormsDesigner WindowsFormsDesigner WindowsFormsDesigner

Specifies a context in which the Windows Forms designer has focus.

Extension Methods

FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)
IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

Applies to