ActivityDesignerPaint.DrawExpandButton Método

Definição

Desenha um botão usado para expandir e recolher designers compostos na superfície do designer de atividades.

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

O Graphics botão no qual desenhar.

boundingRect
Rectangle

O Rectangle que define os limites do botão.

drawExpanded
Boolean

true para desenhar um botão expandido; caso contrário, false.

compositeDesignerTheme
CompositeDesignerTheme

O CompositeDesignerTheme associado ao designer de atividade usado para renderizar o botão.

Exceções

graphics ou compositeDesignerTheme contém uma referência nula (Nothing em Visual Basic).

Aplica-se a