SequentialWorkflowRootDesigner.CanBeParentedTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value that indicates whether a CompositeActivity can be set as the parent of the activity associated with the designer.
public:
override bool CanBeParentedTo(System::Workflow::ComponentModel::Design::CompositeActivityDesigner ^ parentActivityDesigner);
public override bool CanBeParentedTo (System.Workflow.ComponentModel.Design.CompositeActivityDesigner parentActivityDesigner);
override this.CanBeParentedTo : System.Workflow.ComponentModel.Design.CompositeActivityDesigner -> bool
Public Overrides Function CanBeParentedTo (parentActivityDesigner As CompositeActivityDesigner) As Boolean
Parameters
- parentActivityDesigner
- CompositeActivityDesigner
The CompositeActivityDesigner to check.
Returns
true
to allow the activity associated with parentActivityDesigner
to be the parent of the activity associated with the SequentialWorkflowRootDesigner; otherwise, false
.
Remarks
Root designers cannot have a parent activity designer on a workflow design surface. Unless overridden in an inheriting class, CanBeParentedTo returns false
.