ActivityDesigner 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
為所有活動設計工具元件提供強制基類。
public ref class ActivityDesigner : IDisposable, System::ComponentModel::Design::IDesignerFilter, System::ComponentModel::Design::IRootDesigner, System::Drawing::Design::IToolboxUser, System::Workflow::ComponentModel::Design::IPersistUIState, System::Workflow::ComponentModel::Design::IWorkflowRootDesigner
[System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.ActivityDesignerTheme))]
public class ActivityDesigner : IDisposable, System.ComponentModel.Design.IDesignerFilter, System.ComponentModel.Design.IRootDesigner, System.Drawing.Design.IToolboxUser, System.Workflow.ComponentModel.Design.IPersistUIState, System.Workflow.ComponentModel.Design.IWorkflowRootDesigner
[System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.ActivityDesignerTheme))]
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public class ActivityDesigner : IDisposable, System.ComponentModel.Design.IDesignerFilter, System.ComponentModel.Design.IRootDesigner, System.Drawing.Design.IToolboxUser, System.Workflow.ComponentModel.Design.IPersistUIState, System.Workflow.ComponentModel.Design.IWorkflowRootDesigner
[<System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.ActivityDesignerTheme))>]
type ActivityDesigner = class
interface IDesignerFilter
interface IToolboxUser
interface IPersistUIState
interface IWorkflowRootDesigner
interface IRootDesigner
interface IDesigner
interface IDisposable
[<System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.ActivityDesignerTheme))>]
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type ActivityDesigner = class
interface IDesignerFilter
interface IToolboxUser
interface IPersistUIState
interface IWorkflowRootDesigner
interface IRootDesigner
interface IDesigner
interface IDisposable
[<System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.ActivityDesignerTheme))>]
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type ActivityDesigner = class
interface IDisposable
interface IDesignerFilter
interface IDesigner
interface IToolboxUser
interface IPersistUIState
interface IWorkflowRootDesigner
interface IRootDesigner
Public Class ActivityDesigner
Implements IDesignerFilter, IDisposable, IPersistUIState, IRootDesigner, IToolboxUser, IWorkflowRootDesigner
- 繼承
-
ActivityDesigner
- 衍生
- 屬性
- 實作
備註
Note
此數據會討論已過時的類型和命名空間。 欲了解更多資訊,請參閱 Windows Workflow Foundation 4.5 中的
所有活動設計元件皆源自 ActivityDesigner。 它 ActivityDesigner 提供了一個簡單的設計器,讓使用者能在設計模式中視覺化設計活動。
ActivityDesigner 提供簡單的機制讓活動能參與設計表面的工作流程渲染。
ActivityDesigner 讓使用者自訂與活動相關的版面配置與繪圖。
ActivityDesigner 讓使用者可以擴展與該活動相關的元資料。
建構函式
| 名稱 | Description |
|---|---|
| ActivityDesigner() |
已淘汰.
初始化 ActivityDesigner 類別的新執行個體。 |
屬性
| 名稱 | Description |
|---|---|
| AccessibilityObject |
已淘汰.
它會被 AccessibleObject 無障礙應用程式用來調整有障礙使用者的應用程式介面。 |
| Activity |
已淘汰.
與 Activity 設計師有關聯。 |
| Bounds |
已淘汰.
得到 a Rectangle ,包含設計者所包圍矩形的邏輯座標值。 |
| DesignerActions |
已淘汰.
取得與設定錯誤相關的動作陣列。 |
| DesignerTheme |
已淘汰.
取得活動設計師目前的設計師主題。 |
| EnableVisualResizing |
已淘汰.
會得到一個值,表示活動設計器是否可以在自由設計器中調整大小。 |
| Glyphs |
已淘汰.
獲得一套符文來裝飾設計師。 |
| Image |
已淘汰.
與設計師建立或設定 Image 相關聯。 |
| ImageRectangle |
已淘汰.
取得與設計者相關的影像以邏輯座標為包圍邊界的值。 |
| InvokingDesigner |
已淘汰.
取得或設定該活動的設計者,該活動會呼叫與當前活動設計者相關的活動。 |
| IsLocked |
已淘汰.
會得到一個值,表示是否可以修改與設計師相關的活動。 |
| IsPrimarySelection |
已淘汰.
會得到一個值,表示與設計師相關的活動是否是主要選擇。 |
| IsRootDesigner |
已淘汰.
會得到一個值,表示設計者是否為根設計者。 |
| IsSelected |
已淘汰.
會獲得一個值,表示是否選擇了與設計師相關的活動。 |
| IsVisible |
已淘汰.
會得到一個值,表示與設計師相關的活動是否在工作流程中可見。 |
| Location |
已淘汰.
取得或設定設計者在邏輯座標中的位置。 |
| MessageFilters |
已淘汰.
會獲得一組只讀的訊息過濾器,這些篩選器與活動設計器相關聯。 |
| MinimumSize |
已淘汰.
獲得活動設計師的最低尺寸。 |
| ParentDesigner |
已淘汰.
取得現有設計者的父設計者。 |
| ParentView |
已淘汰.
取得包含當前活動設計器的工作流程視圖。 |
| ShowSmartTag |
已淘汰.
會得到一個值,指示該活動是否應該顯示智慧標籤。 |
| Size |
已淘汰.
取得或設定 的大小 ActivityDesigner。 |
| SmartTagRectangle |
已淘汰.
它會得到應該顯示智慧標籤的矩形。 |
| SmartTagVerbs |
已淘汰.
它會獲得一個只讀的設計器動作集合,並與活動設計器上的智慧標籤關聯。 |
| Text |
已淘汰.
取得或設定文字與設計師關聯。 |
| TextRectangle |
已淘汰.
取得文字矩形的邏輯座標值。 |
| Verbs |
已淘汰.
讓設計者所關聯的動詞集合。 |