Sdílet prostřednictvím


ReadOnlyActivityGlyph.GetBounds(ActivityDesigner, Boolean) Metoda

Definice

Vrátí meze pro glyf na zadaném 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

Parametry

designer
ActivityDesigner

, Ke ActivityDesigner kterému je glyf přidružen.

activated
Boolean

true k určení, zda se glyf zobrazuje na povrchu návrháře aktivity; v opačném případě false .

Návraty

Rectangle

RectangleKterý představuje meze pro glyf.

Výjimky

designer obsahuje odkaz s hodnotou null ( Nothing v Visual Basic).

Platí pro