ReadOnlyActivityGlyph.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:
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 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).