ActivityDesignerPaint.DrawExpandButton Método

Definición

Dibuja un botón que se usa para expandir y contraer diseñadores compuestos en la superficie del diseñador de actividad.

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)

Parámetros

graphics
Graphics

en Graphics el que se va a dibujar el botón.

boundingRect
Rectangle

Rectangle que define los límites del botón.

drawExpanded
Boolean

true para dibujar un botón expandido; de lo contrario, false.

compositeDesignerTheme
CompositeDesignerTheme

CompositeDesignerTheme Asociado al diseñador de actividad usado para representar el botón.

Excepciones

graphics o compositeDesignerTheme contiene una referencia nula (Nothing en Visual Basic).

Se aplica a