ReadOnlyActivityGlyph.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

例外

designer 包含空引用(在 Visual Basic 中为 Nothing)。

适用于