Share via


WebPartZone.AllowCustomization property

Gets or sets whether the Web Parts within the zone can be modified in the user interface for all users.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property AllowCustomization As Boolean
    Get
    Set
'Usage
Dim instance As WebPartZone
Dim value As Boolean

value = instance.AllowCustomization

instance.AllowCustomization = value
public bool AllowCustomization { get; set; }

Property value

Type: System.Boolean
true to allow modification for all users; otherwise, false.

Remarks

Beginning with Windows SharePoint Services 3.0, customization is blocked at the user interface level only. This is a change from Windows SharePoint Services 2.0, when it was blocked at both the user interface and the object model level. 

The AllowCustomization property will return the current property setting if called without a parameter.

See also

Reference

WebPartZone class

WebPartZone members

Microsoft.SharePoint.WebPartPages namespace