KnownUIContexts.DesignModeContext Property
Gets a UI context indicating that the environment is in design mode (that is, not debugging).
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Public Shared ReadOnly Property DesignModeContext As UIContext
public static UIContext DesignModeContext { get; }
Property Value
Type: Microsoft.VisualStudio.Shell.UIContext
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.