KnownUIContexts Class
Supplies predefined, well-known UI contexts.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Shell.KnownUIContexts
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Public NotInheritable Class KnownUIContexts
public static class KnownUIContexts
The KnownUIContexts type exposes the following members.
Properties
Name | Description | |
---|---|---|
ApplicationDesignerContext | Gets a UI context indicating that the Application Designer is active. | |
BackgroundProjectLoadContext | Gets a UI context indicating that a project load operation is occurring in the background, and should not present any UI prompts to the user. | |
CodeWindowContext | Gets a UI context indicating that a code window is active. | |
CSharpProjectContext | Gets a UI context indicating that a C# project is active. | |
DebuggingContext | Gets a UI context indicating that a solution is being debugged. | |
DesignModeContext | Gets a UI context indicating that the environment is in design mode (that is, not debugging). | |
DraggingContext | Gets a UI context indicating that a drag-drop operation in the Solution Explorer is in progress. | |
EmptySolutionContext | Gets a UI context indicating that a solution is loaded, but has no projects. | |
FirstLaunchSetupContext | Gets a UI context indicating that this is the first launch after setup. | |
FSharpProjectContext | Gets a UI context indicating that an F# project is active. | |
FullScreenModeContext | Gets a UI context indicating that the environment is in full screen mode. | |
HistoricalDebuggingContext | Gets a UI context indicating that IntelliTrace (historical debugging) is active. | |
NoSolutionContext | Gets a UI context indicating that no solution is loaded. | |
NotBuildingAndNotDebuggingContext | Gets a UI context indicating that the environment is neither building nor debugging a solution. | |
OsWindows8OrHigherContext | Gets a UI context indicating that the current operating system is Windows 8. | |
ProjectRetargetingContext | Gets a UI context indicating that a project's target framework is being changed. | |
PropertyPageDesignerContext | Gets a UI context indicating that the Property Page Designer is active. | |
RESXEditorContext | Gets a UI context indicating that the RESX designer is active. | |
SettingsDesignerContext | Gets a UI context indicating that the Settings Designer is active. | |
SolutionBuildingContext | Gets a UI context indicating that a solution is being built. | |
SolutionExistsAndFullyLoadedContext | Gets a UI context indicating that a solution is fully loaded. | |
SolutionExistsAndNotBuildingAndNotDebuggingContext | Gets a UI context indicating that a solution is loaded, and the environment is neither building nor debugging it. | |
SolutionExistsContext | Gets a UI context indicating that a solution is loaded. | |
SolutionHasAppContainerProjectsContext | Gets a UI context indicating that a solution with at least one app container project is loaded. | |
SolutionHasMultipleProjectsContext | Gets a UI context indicating that a solution with more than one project is loaded. | |
SolutionHasSingleProjectContext | Gets a UI context indicating that a solution with exactly one project is loaded. | |
SolutionOpeningContext | Gets a UI context indicating that a solution is about to be opened. | |
SolutionOrProjectUpgradingContext | Gets a UI context indicating that a solution or project is being upgraded. | |
StandardPreviewerConfigurationChanging | Gets a UI context indicating that the standard previewers (browsers) configuration is changing, either browsers are added or removed, or the default browser(s) changed. | |
ToolboxInitializedContext | Gets a UI context indicating that the toolbox has been initialized. | |
ToolboxVisibleContext | Gets a UI context indicating that the toolbox is visible. | |
VBProjectContext | Gets a UI context indicating that a Visual Basic project is active. | |
VCProjectContext | Gets a UI context indicating that a Visual C++ project is active. |
Top
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.