ActivityDesignerPaint.DrawExpandButton Méthode

Définition

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

graphics
Graphics

Graphics Sur lequel dessiner le bouton.

boundingRect
Rectangle

Qui Rectangle définit les limites du bouton.

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

S’applique à