ActivityDesigner.ParentDesigner 屬性

定義

取得現有設計工具的父設計工具。Gets the parent designer of the existing designer.

public:
 property System::Workflow::ComponentModel::Design::CompositeActivityDesigner ^ ParentDesigner { System::Workflow::ComponentModel::Design::CompositeActivityDesigner ^ get(); };
public System.Workflow.ComponentModel.Design.CompositeActivityDesigner ParentDesigner { get; }
member this.ParentDesigner : System.Workflow.ComponentModel.Design.CompositeActivityDesigner
Public ReadOnly Property ParentDesigner As CompositeActivityDesigner

屬性值

現有設計工具的父設計工具。The parent designer of the existing designer. 如果 ActivityDesigner 為根目錄設計工具,則傳回的 CompositeActivityDesigner 將會是 SequentialWorkflowRootDesigner,否則 ActivityDesigner 將會是父 ActivityDesignerIf the ActivityDesigner is a root designer then the CompositeActivityDesigner returned will be the SequentialWorkflowRootDesigner; otherwise, the ActivityDesigner will be the parent ActivityDesigner.

備註

您可以使用 ParentDesigner 將巢狀 ActivityDesigner 物件的樹狀向上移動或尋找根目錄設計工具。You can use the ParentDesigner to move up the tree of nested ActivityDesigner objects or to find the root designer.

適用於