SelectionGlyph.GetBounds(ActivityDesigner, Boolean) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.