ActivityDesignerPaint.DrawExpandButton 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
繪製一個按鈕,用於在活動設計器表面展開和摺疊複合設計器。
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)
參數
- drawExpanded
- Boolean
true用來畫一個擴展按鈕;否則,。 false
- compositeDesignerTheme
- CompositeDesignerTheme
CompositeDesignerTheme與用於渲染按鈕的活動設計器相關聯。
例外狀況
graphics 或 compositeDesignerTheme 包含一個空參考(Nothing 在 Visual Basic 中)。