ActivityDesignerPaint.DrawExpandButton Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Draws a button that is used to expand and collapse composite designers on the activity designer surface.
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)
Parameters
- drawExpanded
- Boolean
true
to draw an expanded button; otherwise, false
.
- compositeDesignerTheme
- CompositeDesignerTheme
The CompositeDesignerTheme associated with the activity designer used to render the button.
Exceptions
graphics
or compositeDesignerTheme
contains a null reference (Nothing
in Visual Basic).