EditableDesignerRegion.ServerControlsOnly 属性

定义

获取或设置一个值,该值指示区域是否只能接受 Web 服务器控件。Gets or sets a value indicating whether the region can accept only Web server controls.

public:
 property bool ServerControlsOnly { bool get(); void set(bool value); };
public bool ServerControlsOnly { get; set; }
member this.ServerControlsOnly : bool with get, set
Public Property ServerControlsOnly As Boolean

属性值

Boolean

如果区域只能包含 Web 服务器控件,则为 true;否则为 falsetrue if the region can contain only Web server controls; otherwise, false.

适用于