SelectionGlyph.GetBounds(ActivityDesigner, Boolean) Méthode

Définition

Retourne les limites du glyphe de sélection sur le glyphe spécifié 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

Paramètres

designer
ActivityDesigner

Auquel ActivityDesigner le glyphe de sélection est associé.

activated
Boolean

true pour indiquer si le glyphe de sélection apparaît sur l’aire du concepteur d’activités ; sinon, false.

Retours

Qui Rectangle représente les limites du glyphe.

Remarques

Sauf si elle est substituée dans une classe dérivée, GetBounds retourne un rectangle un et demi fois la taille du Boundsdesigner.

S’applique à