ActivityDesignerPaint.DrawExpandButton Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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
- 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).