Export (0) Print
Expand All

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)

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.

Show:
© 2014 Microsoft