TemplateBasedControl.RenderContext Property (Microsoft.SharePoint.WebControls)
Gets or sets the Windows SharePoint Services context in which the control is rendered.

Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

Visual Basic (Declaration)
Public Property RenderContext As SPContext
Visual Basic (Usage)
Dim instance As TemplateBasedControl
Dim value As SPContext

value = instance.RenderContext

instance.RenderContext = value
C#
public SPContext RenderContext { get; set; }

Property Value

A SPContext object that represents the context in which the control is rendered. The default is the value of the Current property.
See Also

Tags :


Page view tracker