ActivityDesigner.ParentDesigner 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得現有設計者的父設計者。
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
屬性值
現有設計者的母設計者。 若 是 ActivityDesigner 根設計者,則返回的 CompositeActivityDesigner 為 SequentialWorkflowRootDesigner;否則 為 ActivityDesigner 父 ActivityDesigner。
備註
你可以用 來 ParentDesigner 往上移動巢狀 ActivityDesigner 物件的樹狀結構,或找到根設計器。