共用方式為


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

See Also

Reference

KnownUIContexts Class

Microsoft.VisualStudio.Shell Namespace