WebPartZone.AllowLayoutChange Property
Gets or sets a value that indicates whether the layout of WebPart controls within the zone can be changed.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Overrides Property AllowLayoutChange As Boolean
Get
Set
'Usage
Dim instance As WebPartZone
Dim value As Boolean
value = instance.AllowLayoutChange
instance.AllowLayoutChange = value
public override bool AllowLayoutChange { get; set; }
Property Value
Type: System.Boolean
true if the layout can be changed; otherwise, false
Remarks
The default value is true.