編集

次の方法で共有


ActivityDesignerPaint.DrawExpandButton Method

Definition

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

graphics
Graphics

The Graphics on which to draw the button.

boundingRect
Rectangle

The Rectangle that defines the bounds of the button.

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).

Applies to