CompositeActivityDesigner 類別

定義

警告

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

提供設計工具,這個工具可讓您以視覺化的方式設計複合活動。

public ref class CompositeActivityDesigner abstract : System::Workflow::ComponentModel::Design::ActivityDesigner
[System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.CompositeDesignerTheme))]
public abstract class CompositeActivityDesigner : System.Workflow.ComponentModel.Design.ActivityDesigner
[System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.CompositeDesignerTheme))]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public abstract class CompositeActivityDesigner : System.Workflow.ComponentModel.Design.ActivityDesigner
[<System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.CompositeDesignerTheme))>]
type CompositeActivityDesigner = class
    inherit ActivityDesigner
[<System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.CompositeDesignerTheme))>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type CompositeActivityDesigner = class
    inherit ActivityDesigner
Public MustInherit Class CompositeActivityDesigner
Inherits ActivityDesigner
繼承
CompositeActivityDesigner
衍生
屬性

備註

注意

此資料討論已被汰換的類型及命名空間。 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型

您可使用 CompositeActivityDesigner 以視覺化的方式設計複合活動、自訂配置,以及管理 CompositeActivity 的繪製。

CompositeActivityDesigner 也可讓您管理包含之活動設計工具的事件, 並且自訂和管理包含之活動設計工具的位置、大小和配置。

建構函式

CompositeActivityDesigner()

在衍生類別中實作時,初始化 CompositeActivityDesigner 的執行個體。

屬性

AccessibilityObject

取得 AccessibleObject,讓協助工具應用程式可以用來為行動不便的人士調整應用程式的外觀及操作。

Activity

取得與設計工具關聯的 Activity

(繼承來源 ActivityDesigner)
Bounds

取得 Rectangle,其包含設計工具封入矩形的邏輯座標值。

(繼承來源 ActivityDesigner)
CanExpandCollapse

取得值,這個值會指出 CompositeActivityDesigner 是否可摺疊。

ContainedDesigners

取得包含在 ActivityDesigner 內的 CompositeActivityDesigner 陣列。

DesignerActions

取得與組態錯誤相關聯的動作陣列。

(繼承來源 ActivityDesigner)
DesignerTheme

取得活動設計工具目前的設計工具主題。

(繼承來源 ActivityDesigner)
EnableVisualResizing

取得值,這個值表示活動設計工具是否可以在不限格式的設計工具中調整大小。

(繼承來源 ActivityDesigner)
ExpandButtonRectangle

取得包含展開或摺疊按鈕的 Rectangle

Expanded

取得或設定值,這個值會指出 CompositeActivityDesigner 是否已展開。

FirstSelectableObject

取得 CompositeActivityDesigner 巡覽順序中第一個可選取的物件。

Glyphs

取得用來裝飾複合活動設計工具的圖像集合。

Image

取得或設定與設計工具相關聯的 Image

(繼承來源 ActivityDesigner)
ImageRectangle

取得影像包圍界線的邏輯座標值,這個影像則與設計工具相關聯。

InvokingDesigner

取得或設定活動設計工具,它會叫用與目前的活動設計工具關聯的活動。

(繼承來源 ActivityDesigner)
IsEditable

取得值,這個值會指出設計工具是否可編輯。

IsLocked

取得值,這個值表示與設計工具關聯的活動是否可以修改。

(繼承來源 ActivityDesigner)
IsPrimarySelection

取得值,指出與設計工具相關聯的活動是否為主要選取範圍。

(繼承來源 ActivityDesigner)
IsRootDesigner

取得值,這個值表示設計工具是否為根目錄設計工具。

(繼承來源 ActivityDesigner)
IsSelected

取得值,指出是否已選取與設計工具相關聯的活動。

(繼承來源 ActivityDesigner)
IsVisible

取得值,指出是否可以在工作流程中看見與設計工具相關聯的活動。

(繼承來源 ActivityDesigner)
LastSelectableObject

取得包含在 CompositeActivityDesigner 內的最後一個可選取物件。

Location

取得或設定設計工具的邏輯座標位置。

MessageFilters

取得與活動設計工具關聯的訊息篩選器唯讀集合。

(繼承來源 ActivityDesigner)
MinimumSize

取得活動設計工具的最小大小。

(繼承來源 ActivityDesigner)
ParentDesigner

取得現有設計工具的父設計工具。

(繼承來源 ActivityDesigner)
ParentView

取得包含目前活動設計工具的工作流程檢視。

(繼承來源 ActivityDesigner)
ShowSmartTag

取得值,指出活動是否應顯示智慧標籤。

(繼承來源 ActivityDesigner)
Size

取得或設定 ActivityDesigner 的大小。

(繼承來源 ActivityDesigner)
SmartTagRectangle

取得應顯示智慧標籤的矩形。

(繼承來源 ActivityDesigner)
SmartTagVerbs

取得要與活動設計工具上智慧標籤產生關聯之設計工具動作的唯讀集合。

(繼承來源 ActivityDesigner)
Text

取得或設定與設計工具相關聯的文字。

(繼承來源 ActivityDesigner)
TextRectangle

取得描述矩形的邏輯座標值。

TitleHeight

取得設計工具標題區域的高度。

Verbs

取得要與設計工具產生關聯的動詞集合。

(繼承來源 ActivityDesigner)

方法

CanBeParentedTo(CompositeActivityDesigner)

傳回值,這個值表示 CompositeActivity 是否可以設定為與設計工具相關聯之活動的父系。

(繼承來源 ActivityDesigner)
CanConnect(ConnectionPoint, ConnectionPoint)

傳回值,這個值表示是否能在目前活動設計工具的指定連線點和目標活動設計工具的指定連線點之間建立連線。

(繼承來源 ActivityDesigner)
CanInsertActivities(HitTestInfo, ReadOnlyCollection<Activity>)

傳回值,這個值會指出是否可將活動插入到與設計工具相關聯的複合活動中。

CanMoveActivities(HitTestInfo, ReadOnlyCollection<Activity>)

傳回值,這個值會指出是否可以將包含在複合活動內的活動移出與設計工具相關聯的複合活動。

CanRemoveActivities(ReadOnlyCollection<Activity>)

傳回值,這個值會指出是否可將活動從與設計工具相關聯的複合活動中移除。

CreateView(ViewTechnology)

使用指定的 ViewTechnology 為目前的活動設計工具建立工作流程檢視。

(繼承來源 ActivityDesigner)
DeserializeActivitiesFromDataObject(IServiceProvider, IDataObject)

將拖放作業期間或從剪貼簿接收到的 IDataObject 項目還原序列化。

Dispose()

釋放 ActivityDesigner 所使用的 Unmanaged 資源,並選擇性地釋放 Managed 資源。

(繼承來源 ActivityDesigner)
Dispose(Boolean)

釋放 CompositeActivityDesigner 所使用的 Unmanaged 資源,並選擇性地釋放 Managed 資源。

DoDefaultAction()

執行與設計工具關聯的預設 UI 動作。

(繼承來源 ActivityDesigner)
EnsureVisible()

移動螢幕的可見區域,以確定能夠看見指定的設計工具。

(繼承來源 ActivityDesigner)
EnsureVisibleContainedDesigner(ActivityDesigner)

確認包含的設計工具可讓使用者看見。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetConnectionPoints(DesignerEdges)

傳回沿著指定的 DesignerEdges 的活動設計工具所屬連接點的唯讀集合。

(繼承來源 ActivityDesigner)
GetConnections(DesignerEdges)

傳回設計工具用來連線的點唯讀集合。

(繼承來源 ActivityDesigner)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetIntersectingDesigners(ActivityDesigner, Rectangle)

擷取屬於與指定區域交集之指定根活動的設計工具。

GetNextSelectableObject(Object, DesignerNavigationDirection)

取得巡覽順序中的下一個物件。

GetPreviewImage(Graphics)

取得指定之 Graphics 上活動設計工具的影像。

(繼承來源 ActivityDesigner)
GetService(Type)

嘗試從與設計工具關聯之活動的設計模式站台,擷取指定的服務類型。

(繼承來源 ActivityDesigner)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
HitTest(Point)

取得畫面上指定點中 CompositeActivityDesigner 的相關資訊。

Initialize(Activity)

使用相關聯的 Activity 初始化設計工具。

InsertActivities(CompositeActivityDesigner, HitTestInfo, ReadOnlyCollection<Activity>, String)

使用交易在設計工具的指定位置插入活動。

InsertActivities(HitTestInfo, ReadOnlyCollection<Activity>)

在設計工具中的指定位置插入指定活動。

Invalidate()

使設計工具失效。

(繼承來源 ActivityDesigner)
Invalidate(Rectangle)

使設計工具的指定矩形無效。

(繼承來源 ActivityDesigner)
IsContainedDesignerVisible(ActivityDesigner)

取得值,這個值會指出包含的設計工具是否為可見。

IsSupportedActivityType(Type)

傳回值,這個值表示如果活動設計工具為根目錄設計工具時是否支援指定的活動類型。

(繼承來源 ActivityDesigner)
LoadViewState(BinaryReader)

從二進位資料流還原檢視狀態。

MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
MoveActivities(HitTestInfo, ReadOnlyCollection<Activity>)

將活動從一個設計工具移到另一個。

MoveDesigners(ActivityDesigner, Boolean)

在複合活動的索引中,往前或往後移動設計工具。

OnActivityChanged(ActivityChangedEventArgs)

當活動與變更關聯時,通知 ActivityDesigner

(繼承來源 ActivityDesigner)
OnBeginResizing(ActivityDesignerResizeEventArgs)

當設計工具為 ActivityDesigner,而使用者開始以視覺方法調整活動設計工具的大小時,通知 FreeformActivityDesigner

(繼承來源 ActivityDesigner)
OnConnected(ConnectionPoint, ConnectionPoint)

當在兩個連線點之間建立連線時,通知 ActivityDesigner

(繼承來源 ActivityDesigner)
OnContainedActivitiesChanged(ActivityCollectionChangeEventArgs)

發生於一個以上包含於設計工具內的活動變更時, 例如加入一個新的子活動或移除現有的子活動。

OnContainedActivitiesChanging(ActivityCollectionChangeEventArgs)

發生於包含在設計工具中的活動或一組活動變更時, 例如加入一個新的子活動或移除現有的子活動。

OnContainedActivityChanged(ActivityChangedEventArgs)

發生於包含在設計工具內的活動變更時。

OnDragDrop(ActivityDragEventArgs)

當在設計工具界限內完成拖放作業時發生。

(繼承來源 ActivityDesigner)
OnDragEnter(ActivityDragEventArgs)

當正在進行拖放作業且指標進入設計工具界限內時發生。

(繼承來源 ActivityDesigner)
OnDragLeave()

當正在進行拖放作業且指標離開設計工具界限時發生。

(繼承來源 ActivityDesigner)
OnDragOver(ActivityDragEventArgs)

當正在進行拖放作業且指標位於設計工具界限內時發生。

(繼承來源 ActivityDesigner)
OnEndResizing()

當設計工具為 ActivityDesigner,而使用者完成以視覺方法調整活動設計工具的大小時,通知 FreeformActivityDesigner

(繼承來源 ActivityDesigner)
OnExecuteDesignerAction(DesignerAction)

當使用者按一下與設計工具相關聯的組態錯誤時,通知 ActivityDesigner

(繼承來源 ActivityDesigner)
OnGiveFeedback(GiveFeedbackEventArgs)

更新當執行拖曳作業時提供給使用者的回應視覺提示。

(繼承來源 ActivityDesigner)
OnKeyDown(KeyEventArgs)

當設計工具取得焦點且按下按鍵時呼叫。

OnKeyUp(KeyEventArgs)

發生於設計工具擁有鍵盤焦點,且釋放按鍵時。

(繼承來源 ActivityDesigner)
OnLayoutPosition(ActivityDesignerLayoutEventArgs)

CompositeActivityDesigner 上包含的視覺提示或設計工具執行配置和定位工作,以便重新調整子活動的位置。

OnLayoutSize(ActivityDesignerLayoutEventArgs)

呼叫以根據活動目前的狀態 (摺疊或展開) 和子活動的清單,計算活動所需的大小。

OnMouseCaptureChanged()

當滑鼠捕捉變更時出現。

(繼承來源 ActivityDesigner)
OnMouseDoubleClick(MouseEventArgs)

發生於當在設計工具上按下滑鼠按鈕多次時。

(繼承來源 ActivityDesigner)
OnMouseDown(MouseEventArgs)

當指標在設計工具界限內且點選滑鼠時呼叫。

OnMouseDragBegin(Point, MouseEventArgs)

發生於當使用者開始在設計工具上拖曳滑鼠時。

(繼承來源 ActivityDesigner)
OnMouseDragEnd()

發生於當使用者停止在設計工具上拖曳滑鼠時。

(繼承來源 ActivityDesigner)
OnMouseDragMove(MouseEventArgs)

的任何滑鼠移動。

(繼承來源 ActivityDesigner)
OnMouseEnter(MouseEventArgs)

發生於當滑鼠初次進入設計工具界限時。

(繼承來源 ActivityDesigner)
OnMouseHover(MouseEventArgs)

發生於當指標位於設計工具界限內時。

(繼承來源 ActivityDesigner)
OnMouseLeave()

發生於當指標離開設計工具界限時。

(繼承來源 ActivityDesigner)
OnMouseMove(MouseEventArgs)

發生於當指標在設計工具界限內移動時。

(繼承來源 ActivityDesigner)
OnMouseUp(MouseEventArgs)

發生於在指標位於設計工具界限上時釋放滑鼠按鈕時。

(繼承來源 ActivityDesigner)
OnPaint(ActivityDesignerPaintEventArgs)

在設計階段繪製複合活動的視覺化表示。

OnProcessMessage(Message)

允許設計工具處理原始的 Win32 訊息。

(繼承來源 ActivityDesigner)
OnQueryContinueDrag(QueryContinueDragEventArgs)

控制是否該繼續拖曳作業。

(繼承來源 ActivityDesigner)
OnResizing(ActivityDesignerResizeEventArgs)

當使用者在設計階段以視覺方式重新調整大小時,通知 ActivityDesigner。 只有在活動設計工具為子 FreeformActivityDesigner 時,才會呼叫這個方法

(繼承來源 ActivityDesigner)
OnScroll(ScrollBar, Int32)

當使用者變更捲軸的位置時,通知 ActivityDesigner

(繼承來源 ActivityDesigner)
OnShowSmartTagVerbs(Point)

顯示與指定點上智慧標籤相關聯的設計工具動詞。

(繼承來源 ActivityDesigner)
OnSmartTagVisibilityChanged(Boolean)

當顯示或隱藏智慧標籤時,通知 ActivityDesigner

(繼承來源 ActivityDesigner)
OnThemeChange(ActivityDesignerTheme)

通知設計工具相關的主題已改變。

PaintContainedDesigners(ActivityDesignerPaintEventArgs)

調整圖形物件上的裁剪區域,並呼叫所有包含之設計工具上的 OnPaint(ActivityDesignerPaintEventArgs)

PerformLayout()

更新設計工具的配置。

(繼承來源 ActivityDesigner)
PointToLogical(Point)

將點從螢幕座標系統轉換至活動設計工具座標系統。

(繼承來源 ActivityDesigner)
PointToScreen(Point)

將點從活動設計工具座標系統轉換至螢幕座標系統。

(繼承來源 ActivityDesigner)
PostFilterAttributes(IDictionary)

在衍生類別中覆寫時,允許設計工具可以變更或移除透過 TypeDescriptor 所公開之屬性集中的項目。

(繼承來源 ActivityDesigner)
PostFilterEvents(IDictionary)

在衍生類別中覆寫時,允許設計工具可以變更或移除透過 TypeDescriptor 所公開之屬性集中的項目。

(繼承來源 ActivityDesigner)
PostFilterProperties(IDictionary)

在衍生類別中覆寫時,允許設計工具可以變更或移除透過 TypeDescriptor 所公開之屬性集中的項目。

(繼承來源 ActivityDesigner)
PreFilterAttributes(IDictionary)

在衍生類別中覆寫時,可讓設計工具將項目加入至其透過 TypeDescriptor 所公開 (Expose) 的屬性集合。

(繼承來源 ActivityDesigner)
PreFilterEvents(IDictionary)

在衍生類別中覆寫時,可讓設計工具將項目加入至其透過 TypeDescriptor 所公開的事件集合。

(繼承來源 ActivityDesigner)
PreFilterProperties(IDictionary)

在衍生類別中覆寫時,可讓設計工具將項目加入至其透過 TypeDescriptor 所公開的屬性集合。

(繼承來源 ActivityDesigner)
RectangleToLogical(Rectangle)

將矩形從螢幕座標系統轉換至活動設計工具座標系統。

(繼承來源 ActivityDesigner)
RectangleToScreen(Rectangle)

將矩形從活動設計工具座標系統轉換至螢幕座標系統。

(繼承來源 ActivityDesigner)
RefreshDesignerActions()

重新整理與設計工具相關聯的組態錯誤。

(繼承來源 ActivityDesigner)
RefreshDesignerVerbs()

呼叫狀態處理常式可重新整理與設計工具相關聯的活動設計工具動詞。

(繼承來源 ActivityDesigner)
RemoveActivities(IServiceProvider, ReadOnlyCollection<Activity>, String)

使用異動從設計工具中移除活動清單。

RemoveActivities(ReadOnlyCollection<Activity>)

從複合活動設計工具中移除活動清單。

SaveViewState(BinaryWriter)

將檢視狀態儲存到二進位資料流。

SerializeActivitiesToDataObject(IServiceProvider, Activity[])

將活動陣列序列化為 IDataObject,後者可以放到剪貼簿中或在初始化拖放作業時使用。

ShowInfoTip(String)

顯示指定的資訊提示。

(繼承來源 ActivityDesigner)
ShowInfoTip(String, String)

以指定的標題和文字顯示 ActivityDesigner 的資訊提示。

(繼承來源 ActivityDesigner)
ShowInPlaceTip(String, Rectangle)

在定的矩形位置中顯示指定的工具提示。

(繼承來源 ActivityDesigner)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

明確介面實作

IDesigner.Component

取得與活動設計工具相關聯的基底元件。

(繼承來源 ActivityDesigner)
IDesigner.DoDefaultAction()

執行與設計工具相關聯的預設動作。

(繼承來源 ActivityDesigner)
IDesigner.Initialize(IComponent)

使用關聯的活動初始化設計工具。

(繼承來源 ActivityDesigner)
IDesigner.Verbs

傳回與活動設計工具相關聯的設計階段動詞。

(繼承來源 ActivityDesigner)
IDesignerFilter.PostFilterAttributes(IDictionary)

在衍生類別中覆寫時,允許設計工具可以變更或移除透過 TypeDescriptor 所公開之屬性集中的項目。

(繼承來源 ActivityDesigner)
IDesignerFilter.PostFilterEvents(IDictionary)

在衍生類別中覆寫時,允許設計工具可以變更或移除透過 TypeDescriptor 所公開之屬性集中的項目。

(繼承來源 ActivityDesigner)
IDesignerFilter.PostFilterProperties(IDictionary)

在衍生類別中覆寫時,允許設計工具可以變更或移除透過 TypeDescriptor 所公開之屬性集中的項目。

(繼承來源 ActivityDesigner)
IDesignerFilter.PreFilterAttributes(IDictionary)

在衍生類別中覆寫時,可讓設計工具將項目加入至其透過 TypeDescriptor 所公開 (Expose) 的屬性集合。

(繼承來源 ActivityDesigner)
IDesignerFilter.PreFilterEvents(IDictionary)

在衍生類別中覆寫時,可讓設計工具將項目加入至其透過 TypeDescriptor 所公開的事件集合。

(繼承來源 ActivityDesigner)
IDesignerFilter.PreFilterProperties(IDictionary)

在衍生類別中覆寫時,可讓設計工具將項目加入至其透過 TypeDescriptor 所公開的屬性集合。

(繼承來源 ActivityDesigner)
IPersistUIState.LoadViewState(BinaryReader)

從二進位資料流還原檢視狀態。

(繼承來源 ActivityDesigner)
IPersistUIState.SaveViewState(BinaryWriter)

將檢視狀態儲存到二進位資料流。

(繼承來源 ActivityDesigner)
IRootDesigner.GetView(ViewTechnology)

傳回指定之檢視技術的檢視物件。

(繼承來源 ActivityDesigner)
IRootDesigner.SupportedTechnologies

取得技術的陣列,該活動設計工具可支援其顯示。

(繼承來源 ActivityDesigner)
IToolboxUser.GetToolSupported(ToolboxItem)

判斷目前的活動設計工具是否支援指定的工具箱項目。

(繼承來源 ActivityDesigner)
IToolboxUser.ToolPicked(ToolboxItem)

選取指定的工具列項目。

(繼承來源 ActivityDesigner)
IWorkflowRootDesigner.InvokingDesigner

取得或設定 CompositeActivityDesigner,它會要求初始化活動設計工具。

(繼承來源 ActivityDesigner)
IWorkflowRootDesigner.IsSupportedActivityType(Type)

傳回值,這個值表示目前的 ActivityDesigner 是否支援指定型別。

(繼承來源 ActivityDesigner)
IWorkflowRootDesigner.MessageFilters

取得與活動設計工具相關聯的任何訊息篩選器。

(繼承來源 ActivityDesigner)
IWorkflowRootDesigner.SupportsLayoutPersistence

取得值,這個值會指出實際工作流程根目錄設計工具是否支援配置保存。

(繼承來源 ActivityDesigner)

適用於