Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Set the current context in design rendering mode
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub SetDesignTimeOnContext
'Usage
Dim instance As SPContext
instance.SetDesignTimeOnContext()
public void SetDesignTimeOnContext()
Remarks
Controls in the request will now rendering using their design renditions. A control can find out if the current request is in design time by using the IsDesignTime property.