ActivityDesignerPaint.DrawExpandButton Metodo

Definizione

Disegna un pulsante utilizzato per espandere e comprimere finestre di progettazione composite nell'area di ActivityDesigner.

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)

Parametri

graphics
Graphics

Oggetto Graphics su cui disegnare il pulsante.

boundingRect
Rectangle

Oggetto Rectangle che definisce i limiti del pulsante.

drawExpanded
Boolean

true per disegnare un pulsante espanso; in caso contrario, false.

compositeDesignerTheme
CompositeDesignerTheme

Oggetto CompositeDesignerTheme associato all'ActivityDesigner utilizzato per eseguire il rendering del pulsante.

Eccezioni

graphics o compositeDesignerTheme contiene un riferimento Null (Nothing in Visual Basic).

Si applica a