VSConstants.UICONTEXT Class
Provides the GUIDs for different command contexts.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.VSConstants.UICONTEXT
Namespace: Microsoft.VisualStudio
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Public NotInheritable Class UICONTEXT
public static class UICONTEXT
The VSConstants.UICONTEXT type exposes the following members.
Fields
Name | Description | |
---|---|---|
ApplicationDesigner_guid | Specifies a context in which Application Designer is active. | |
ApplicationDesigner_string | Specifies a context in which Application Designer is active. | |
BackgroundProjectLoad_guid | Specifies a context in which a background project is being loaded. | |
BackgroundProjectLoad_string | Specifies a context in which a background project is being loaded. | |
CodeWindow_guid | Specifies a context in which a code window currently has focus. | |
CodeWindow_string | Specifies a context in which a code window currently has focus. | |
CSharpProject_guid | Specifies a context in which a C# project is active. | |
CSharpProject_string | Specifies a context in which a C# project is active. | |
DataSourceWindowAutoVisible_guid | Specifies a context in which a data source window is auto visible. | |
DataSourceWindowAutoVisible_string | Specifies a context in which a data source window is auto visible. | |
DataSourceWindowSupported_guid | Specifies a context in which a data source window is supported by the project. | |
DataSourceWindowSupported_string | Specifies a context in which a data source window is supported by the project. | |
DataSourceWizardSuppressed_guid | Specifies a context in which a data source wizard is suppressed. | |
DataSourceWizardSuppressed_string | Specifies a context in which a data source wizard is suppressed. | |
Debugging_guid | Specifies a context in which the user is debugging. | |
Debugging_string | Specifies a context in which the user is debugging. | |
DesignMode_guid | Specifies a context where the IDE is in design mode. | |
DesignMode_string | Specifies a context where the IDE is in design mode. | |
Dragging_guid | Specifies a context that occurs while dragging items in Solution Explorer. | |
Dragging_string | Specifies a context that occurs while dragging items in Solution Explorer. | |
EmptySolution_guid | Specifies a context in which an empty solution has been loaded. | |
EmptySolution_string | Specifies a context in which an empty solution has been loaded. | |
FirstLaunchSetup_guid | Specifies a context in which the first launch after setup is in progress. Packages may use ProvideAutoLoad with this UI context to perform expensive one-time per-user initialization. Note that during the first launch after setup, many services are unavailable and a package may not display any UI. The first launch after setup is not guaranteed to be called; it is just an opportunity for packages to build caches. | |
FirstLaunchSetup_string | Specifies a context in which the first launch after setup is in progress. Packages may use ProvideAutoLoad with this UI context to perform expensive one-time per-user initialization. Note that during the first launch after setup, many services are unavailable and a package may not display any UI. The first launch after setup is not guaranteed to be called; it is just an opportunity for packages to build caches. | |
FSharpProject_guid | Specifies a context in which an F# project is active. | |
FSharpProject_string | Specifies a context in which an F# project is active. | |
FullScreenMode_guid | Specifies a context that is active when the IDE is in full screen mode. | |
FullScreenMode_string | Specifies a context that is active when is in full screen mode. | |
HistoricalDebugging_guid | Specifies a context in which historical debugging is active. | |
HistoricalDebugging_string | Specifies a context in which debugging is active. | |
NoSolution_guid | Specifies a context in which no solution is loaded. | |
NoSolution_string | Specifies a context in which no solution is loaded. | |
NotBuildingAndNotDebugging_guid | Specifies a context in which the solution is not being built or debugged. | |
NotBuildingAndNotDebugging_string | Specifies a context in which the solution is not being built or debugged. | |
OsWindows8OrHigher_guid | Specifies a context which is running under a Windows 8 or later operating system. | |
OsWindows8OrHigher_string | Specifies a context which is running under a Windows 8 or later operating system. | |
ProjectRetargeting_guid | Specifies a context in which the project is being retargeted. | |
ProjectRetargeting_string | Specifies a context in which the project is being retargeted. | |
PropertyPageDesigner_guid | Specifies a context in which the Property Page Designer is active. | |
PropertyPageDesigner_string | Specifies a context in which the Property Page Designer is active. | |
RESXEditor_guid | Specifies a context in which the Windows Forms Resource Editor is active. | |
RESXEditor_string | Specifies a context in which the Windows Forms Resource Editor is active. | |
SettingsDesigner_guid | Specifies a context in which the Settings Designer is active. | |
SettingsDesigner_string | Specifies a context in which the Settings Designer is active. | |
SolutionBuilding_guid | Specifies a context in which a project or solution is currently being built. | |
SolutionBuilding_string | Specifies a context in which a project or solution is currently being built. | |
SolutionExists_guid | Specifies a context in which a solution has been loaded. | |
SolutionExists_string | Specifies a context in which a solution has been loaded. | |
SolutionExistsAndFullyLoaded_guid | Specifies a context in which a solution has been completely loaded. | |
SolutionExistsAndFullyLoaded_string | Specifies a context in which a solution has been completely loaded. | |
SolutionExistsAndNotBuildingAndNotDebugging_guid | Specifies a context in which a solution is loaded but is not being built or debugged. | |
SolutionExistsAndNotBuildingAndNotDebugging_string | Specifies a context in which a solution is loaded but is not being built or debugged. | |
SolutionHasAppContainerProject_guid | Specifies a context in which a loaded solution contains an app container project. | |
SolutionHasAppContainerProject_string | Specifies a context in which a loaded solution contains an app container project. | |
SolutionHasMultipleProjects_guid | Specifies a context in which a loaded solution contains more than one project. | |
SolutionHasMultipleProjects_string | Specifies a context in which a loaded solution contains more than one project. | |
SolutionHasSingleProject_guid | Specifies a context in which a loaded solution contains a single project. | |
SolutionHasSingleProject_string | Specifies a context in which a loaded solution contains a single project. | |
SolutionOpening_guid | Specifies a context in which a solution is being opened. | |
SolutionOpening_string | Specifies a context in which a solution is being opened. | |
SolutionOrProjectUpgrading_guid | Specifies a context in which a project or solution is being upgraded. | |
SolutionOrProjectUpgrading_string | Specifies a context in which a project or solution is being upgraded. | |
StandardPreviewerConfigurationChanging_guid | Specifies a context in which the standard previewer configuration is being changed. | |
StandardPreviewerConfigurationChanging_string | Specifies a context in which the standard previewer configuration is being changed. | |
ToolboxInitialized_guid | Specifies a context in which the Toolbox has been initialized. | |
ToolboxInitialized_string | Specifies a context in which the Toolbox has been initialized. | |
ToolboxVisible_guid | Specifies a context in which the Toolbox is visible. | |
ToolboxVisible_string | Specifies a context in which the Toolbox is visible. | |
VBCodeAttribute_guid | Specifies a context in which a Visual Basic attribute is active. | |
VBCodeAttribute_string | ||
VBCodeClass_guid | ||
VBCodeClass_string | ||
VBCodeDelegate_guid | ||
VBCodeDelegate_string | ||
VBCodeEnum_guid | ||
VBCodeEnum_string | ||
VBCodeFunction_guid | ||
VBCodeFunction_string | ||
VBCodeInterface_guid | ||
VBCodeInterface_string | ||
VBCodeNamespace_guid | ||
VBCodeNamespace_string | ||
VBCodeParameter_guid | ||
VBCodeParameter_string | ||
VBCodeProperty_guid | ||
VBCodeProperty_string | ||
VBCodeStruct_guid | ||
VBCodeStruct_string | ||
VBCodeVariable_guid | ||
VBCodeVariable_string | ||
VBProject_guid | Specifies a context in which a Visual Basic project is open. | |
VBProject_string | Specifies a context in which a Visual Basic project is open. | |
VBProjOpened_guid | Specifies a context in which a Visual Basic project is open. | |
VBProjOpened_string | Specifies a context in which a Visual Basic project is open. | |
VCProject_guid | Specifies a context in which a Visual C++ project is active. | |
VCProject_string | Specifies a context in which a Visual C++ project is active. |
Top
Remarks
For more information about command contexts, see UIContextGuids and UIContextGuids80.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.