BaseXsltListWebPart.CanHaveServerControls property
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)
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.