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

'Declaration
Public NotInheritable Class KnownUIContexts
public static class KnownUIContexts
public ref class KnownUIContexts abstract sealed
[<AbstractClass>]
[<Sealed>]
type KnownUIContexts =  class end
public final class KnownUIContexts

The KnownUIContexts type exposes the following members.

Properties

  Name Description
Public propertyStatic member ApplicationDesignerContext Gets a UI context indicating that the Application Designer is active.
Public propertyStatic member 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.
Public propertyStatic member CodeWindowContext Gets a UI context indicating that a code window is active.
Public propertyStatic member CSharpProjectContext Gets a UI context indicating that a C# project is active.
Public propertyStatic member DebuggingContext Gets a UI context indicating that a solution is being debugged.
Public propertyStatic member DesignModeContext Gets a UI context indicating that the environment is in design mode (that is, not debugging).
Public propertyStatic member DraggingContext Gets a UI context indicating that a drag-drop operation in the Solution Explorer is in progress.
Public propertyStatic member EmptySolutionContext Gets a UI context indicating that a solution is loaded, but has no projects.
Public propertyStatic member FirstLaunchSetupContext Gets a UI context indicating that this is the first launch after setup.
Public propertyStatic member FSharpProjectContext Gets a UI context indicating that an F# project is active.
Public propertyStatic member FullScreenModeContext Gets a UI context indicating that the environment is in full screen mode.
Public propertyStatic member HistoricalDebuggingContext Gets a UI context indicating that IntelliTrace (historical debugging) is active.
Public propertyStatic member NoSolutionContext Gets a UI context indicating that no solution is loaded.
Public propertyStatic member NotBuildingAndNotDebuggingContext Gets a UI context indicating that the environment is neither building nor debugging a solution.
Public propertyStatic member OsWindows8OrHigherContext Gets a UI context indicating that the current operating system is Windows 8.
Public propertyStatic member ProjectRetargetingContext Gets a UI context indicating that a project's target framework is being changed.
Public propertyStatic member PropertyPageDesignerContext Gets a UI context indicating that the Property Page Designer is active.
Public propertyStatic member RESXEditorContext Gets a UI context indicating that the RESX designer is active.
Public propertyStatic member SettingsDesignerContext Gets a UI context indicating that the Settings Designer is active.
Public propertyStatic member SolutionBuildingContext Gets a UI context indicating that a solution is being built.
Public propertyStatic member SolutionExistsAndFullyLoadedContext Gets a UI context indicating that a solution is fully loaded.
Public propertyStatic member SolutionExistsAndNotBuildingAndNotDebuggingContext Gets a UI context indicating that a solution is loaded, and the environment is neither building nor debugging it.
Public propertyStatic member SolutionExistsContext Gets a UI context indicating that a solution is loaded.
Public propertyStatic member SolutionHasAppContainerProjectsContext Gets a UI context indicating that a solution with at least one app container project is loaded.
Public propertyStatic member SolutionHasMultipleProjectsContext Gets a UI context indicating that a solution with more than one project is loaded.
Public propertyStatic member SolutionHasSingleProjectContext Gets a UI context indicating that a solution with exactly one project is loaded.
Public propertyStatic member SolutionOpeningContext Gets a UI context indicating that a solution is about to be opened.
Public propertyStatic member SolutionOrProjectUpgradingContext Gets a UI context indicating that a solution or project is being upgraded.
Public propertyStatic member 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.
Public propertyStatic member ToolboxInitializedContext Gets a UI context indicating that the toolbox has been initialized.
Public propertyStatic member ToolboxVisibleContext Gets a UI context indicating that the toolbox is visible.
Public propertyStatic member VBProjectContext Gets a UI context indicating that a Visual Basic project is active.
Public propertyStatic member 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.

See Also

Reference

Microsoft.VisualStudio.Shell Namespace