Udostępnij przez


LockedActivityGlyph.GetBounds(ActivityDesigner, Boolean) Metoda

Definicja

Zwraca granice dla glyph w określonym obiekcie 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

Z ActivityDesigner którym jest skojarzona glifa.

activated
Boolean

true aby wskazać, czy glyph pojawia się na powierzchni projektanta działań; w przeciwnym razie , false.

Zwraca

Element Rectangle reprezentujący granice glifu.

Wyjątki

designer zawiera odwołanie o wartości null (Nothing w Visual Basic).

Dotyczy