WebPart.IsStandalone Property


Gets a value that indicates whether a WebPart control is standalone, meaning that it is not contained within a WebPartZoneBase zone.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

public bool IsStandalone { get; }

Property Value

Type: System.Boolean

true if the WebPart control is not contained in a WebPartZoneBase zone; otherwise, false.

.NET Framework
Available since 2.0
Return to top