Udostępnij za pośrednictwem


ConfigErrorGlyph.GetBounds(ActivityDesigner, Boolean) Metoda

Definicja

Zwraca granice dla glifa dla określonego 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

, ActivityDesigner z którym jest skojarzony glif.

activated
Boolean

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

Zwraca

Rectangle

Wartość Rectangle reprezentująca granice dla glifa.

Wyjątki

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

Dotyczy