ActivityDesignerPaint.DrawExpandButton Yöntem

Tanım

Etkinlik tasarımcısı yüzeyinde bileşik tasarımcıları genişletmek ve daraltmak için kullanılan bir düğme çizer.

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)

Parametreler

graphics
Graphics

Düğmenin Graphics çizildiği yer.

boundingRect
Rectangle

Rectangle Düğmenin sınırlarını tanımlayan.

drawExpanded
Boolean

true genişletilmiş bir düğme çizmek için; aksi takdirde , false.

compositeDesignerTheme
CompositeDesignerTheme

Düğmeyi CompositeDesignerTheme işlemek için kullanılan etkinlik tasarımcısıyla ilişkili.

Özel durumlar

graphics veya compositeDesignerTheme null başvuru içeriyor (Visual Basic Nothing).

Şunlara uygulanır