WebPart.IsStandalone Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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