This topic has not yet been rated - Rate this topic

SPContext.IsDesignTime Property

Gets a Boolean value that indicates whether the Web request is operating in a design-time configuration.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
public bool IsDesignTime { get; }

Property Value

Type: System.Boolean
If the value is true, then the Web request is operating in a design-time configuration; otherwise, the value is false.

Some Web Part objects that are used at run time are similar, but not identical to, design-time objects.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ