SelectionGlyph.GetBounds(ActivityDesigner, Boolean) 方法

定义

返回指定 ActivityDesigner 上的选择标志符号的边界。

public:
 override System::Drawing::Rectangle GetBounds(System::Workflow::ComponentModel::Design::ActivityDesigner ^ designer, bool activated);
public override System.Drawing.Rectangle GetBounds (System.Workflow.ComponentModel.Design.ActivityDesigner designer, bool activated);
override this.GetBounds : System.Workflow.ComponentModel.Design.ActivityDesigner * bool -> System.Drawing.Rectangle
Public Overrides Function GetBounds (designer As ActivityDesigner, activated As Boolean) As Rectangle

参数

designer
ActivityDesigner

与选择标志符号关联的 ActivityDesigner

activated
Boolean

true 则指示在活动设计器图面上显示选择标志符号;否则为 false

返回

Rectangle

表示标志符号边界的 Rectangle

注解

除非在派生类中重写,否则 GetBounds 将返回一个大小为 Boundsdesigner 的 1.5 倍的矩形。

适用于