ConfigErrorGlyph.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 包含 null 引用(Visual Basic 中的 Nothing)。

适用于