SPContext.IsRemoteAuthoringTime property

Gets a value that represents whether the current request renders for design time.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property IsRemoteAuthoringTime As Boolean
    Get
'Usage
Dim instance As SPContext
Dim value As Boolean

value = instance.IsRemoteAuthoringTime
public bool IsRemoteAuthoringTime { get; }

Property value

Type: System.Boolean
Returns a Boolean value of true if the Current request is rendering for design time.

Remarks

When the web request is operating in a design-time configuration, some Web server controls need to be serialized and deserialized differently.

See also

Reference

SPContext class

SPContext members

Microsoft.SharePoint namespace

ControlPersister

IDesignerHost

IDataSource