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)
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 Additions

ADD
© 2013 Microsoft. All rights reserved.