Share via


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)

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.

See also

Reference

WebPartZone class

WebPartZone members

Microsoft.SharePoint.WebPartPages namespace