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)


Public Overrides ReadOnly Property CanHaveServerControls As Boolean
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.

See also


BaseXsltListWebPart class

BaseXsltListWebPart members

Microsoft.SharePoint.WebPartPages namespace