Share via


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)
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.

See Also

Reference

BaseXsltListWebPart Class

BaseXsltListWebPart Members

Microsoft.SharePoint.WebPartPages Namespace