DesignerRegion.Selected 属性

定义

获取或设置一个值,指示设计图面上的设计器区域当前是否被选中。Gets or sets a value indicating whether the designer region is currently selected on the design surface.

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

属性值

Boolean

如果该设计器区域在设计图面上当前被选中,则为 true;否则为 falsetrue, if the designer region is currently selected on the design surface; otherwise, false. 默认值为 falseThe default is false.

适用于