ActivityDesignerPaint.DrawExpandButton Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
- 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).