ActivityDesignerPaint.DrawExpandButton 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.
Dessine un bouton utilisé pour développer et réduire les concepteurs composites sur l’aire du concepteur d’activités.
public:
static void DrawExpandButton(System::Drawing::Graphics ^ graphics, System::Drawing::Rectangle boundingRect, bool drawExpanded, System::Workflow::ComponentModel::Design::CompositeDesignerTheme ^ compositeDesignerTheme);
public static void DrawExpandButton(System.Drawing.Graphics graphics, System.Drawing.Rectangle boundingRect, bool drawExpanded, System.Workflow.ComponentModel.Design.CompositeDesignerTheme compositeDesignerTheme);
static member DrawExpandButton : System.Drawing.Graphics * System.Drawing.Rectangle * bool * System.Workflow.ComponentModel.Design.CompositeDesignerTheme -> unit
Public Shared Sub DrawExpandButton (graphics As Graphics, boundingRect As Rectangle, drawExpanded As Boolean, compositeDesignerTheme As CompositeDesignerTheme)
Paramètres
- drawExpanded
- Boolean
true pour dessiner un bouton développé ; sinon, false.
- compositeDesignerTheme
- CompositeDesignerTheme
CompositeDesignerTheme Associé au concepteur d’activités utilisé pour afficher le bouton.
Exceptions
graphics ou compositeDesignerTheme contient une référence Null (Nothing dans Visual Basic).