System.Web.UI.WebControls.WebParts.WebPart.AllowZoneChange Property

Gets or sets a value indicating whether a user can move a System.Web.UI.WebControls.WebParts.WebPart control between System.Web.UI.WebControls.WebParts.WebPartZoneBase zones.

Syntax

public virtual bool AllowZoneChange { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

When the WebPart.AllowZoneChange property is true, and a Web page is in a display mode that allows layout changes (such as edit or design mode), a user can change the page layout by moving a control to another System.Web.UI.WebControls.WebParts.WebPartZoneBase zone on the page. If the property is set to false, a control cannot be moved between zones, but can still be moved within its current zone.

This property cannot be set by themes or style sheet themes. For more information, see System.Web.UI.ThemeableAttribute and ASP.NET Themes Overview.

The personalization scope of this property is set to PersonalizationScope.Shared and can be modified only by authorized users. For more information, see System.Web.UI.WebControls.WebParts.PersonalizableAttribute and Web Parts Personalization Overview.

Requirements

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0