ActivityDesignerPaint 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
提供靜態方法,用於在活動設計器表面繪製使用者介面元素。 此類別無法獲得繼承。
public ref class ActivityDesignerPaint abstract sealed
public static class ActivityDesignerPaint
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public static class ActivityDesignerPaint
type ActivityDesignerPaint = class
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type ActivityDesignerPaint = class
Public Class ActivityDesignerPaint
- 繼承
-
ActivityDesignerPaint
- 屬性
備註
Note
此數據會討論已過時的類型和命名空間。 欲了解更多資訊,請參閱 Windows Workflow Foundation 4.5 中的
方法
| 名稱 | Description |
|---|---|
| Draw3DButton(Graphics, Image, Rectangle, Single, ButtonState) |
已淘汰.
在活動設計器表面繪製一個三維按鈕。 |
| DrawExpandButton(Graphics, Rectangle, Boolean, CompositeDesignerTheme) |
已淘汰.
繪製一個按鈕,用於在活動設計器表面展開和摺疊複合設計器。 |
| DrawImage(Graphics, Image, Rectangle, DesignerContentAlignment) |
已淘汰.
在活動設計器表面Graphics上透過 、 ImageRectangleDesignerContentAlignment和 a 繪製圖像。 |
| DrawImage(Graphics, Image, Rectangle, Rectangle, DesignerContentAlignment, Single, Boolean) |
已淘汰.
透過 、 、Graphics來源與目的地 Image、 Rectangle、單精度浮點數及布林值,在活動設計器表面DesignerContentAlignment繪製影像。 |
| DrawRoundedRectangle(Graphics, Pen, Rectangle, Int32) |
已淘汰.
在活動設計器表面繪製一個圓角矩形。 |
| DrawText(Graphics, Font, String, Rectangle, StringAlignment, TextQuality, Brush) |
已淘汰.
在活動設計器表面繪製文字。 |
| GetRoundedRectanglePath(Rectangle, Int32) |
已淘汰.
回傳繪製指定圓角矩形的圖形路徑。 |