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 对象的树或查找根设计器。