DesignerGlyph.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 sur le glyphe spécifié ActivityDesigner.
public:
virtual System::Drawing::Rectangle GetBounds(System::Workflow::ComponentModel::Design::ActivityDesigner ^ designer, bool activated);
public virtual System.Drawing.Rectangle GetBounds(System.Workflow.ComponentModel.Design.ActivityDesigner designer, bool activated);
abstract member GetBounds : System.Workflow.ComponentModel.Design.ActivityDesigner * bool -> System.Drawing.Rectangle
override this.GetBounds : System.Workflow.ComponentModel.Design.ActivityDesigner * bool -> System.Drawing.Rectangle
Public Overridable Function GetBounds (designer As ActivityDesigner, activated As Boolean) As Rectangle
Paramètres
- designer
- ActivityDesigner
Auquel ActivityDesigner le glyphe est associé.
- activated
- Boolean
true pour indiquer si le glyphe apparaît sur l’aire du concepteur d’activités ; sinon, false.
Retours
Qui Rectangle représente les limites du glyphe.
Exceptions
designer contient une référence null (Nothing dans Visual Basic).
Remarques
Sauf si elle est substituée dans une classe dérivée, GetBounds retourne les limites du concepteur d’activités avec lequel le glyphe est associé.