共用方式為


WebPartZone.AllowLayoutChange property

取得或設定值,這個值,指出是否可以變更區域內的WebPart控制項的配置。

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

Syntax

'宣告
Public Overrides Property AllowLayoutChange As Boolean
    Get
    Set
'用途
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如果可以變更版面配置。否則, false

備註

預設值為 True。

請參閱

參照

WebPartZone class

WebPartZone members

Microsoft.SharePoint.WebPartPages namespace