Sdílet prostřednictvím


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

Hodnota ActivityDesigner , se kterou je glyf spojený.

activated
Boolean

truek označení, zda se piktogram zobrazuje na povrchu návrháře aktivity; v opačném případě . false

Návraty

A Rectangle , který představuje hranice pro glyf.

Výjimky

designer obsahuje odkaz null (Nothing v jazyce Visual Basic).

Platí pro