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.
Gets or sets a value that indicates whether the current Web Part can render server controls.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overrides ReadOnly Property CanHaveServerControls As Boolean
Get
'Usage
Dim instance As BaseXsltListWebPart
Dim value As Boolean
value = instance.CanHaveServerControls
public override bool CanHaveServerControls { get; }
Property Value
Type: System.Boolean
true if the Web Part can render server controls; otherwise, false.