ModelItemExtensions.IsParentOf(ModelItem, ModelItem) 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 the first specified designer item is a parent of the second specified designer item.
public:
[System::Runtime::CompilerServices::Extension]
static bool IsParentOf(System::Activities::Presentation::Model::ModelItem ^ item, System::Activities::Presentation::Model::ModelItem ^ child);
public static bool IsParentOf (this System.Activities.Presentation.Model.ModelItem item, System.Activities.Presentation.Model.ModelItem child);
static member IsParentOf : System.Activities.Presentation.Model.ModelItem * System.Activities.Presentation.Model.ModelItem -> bool
<Extension()>
Public Function IsParentOf (item As ModelItem, child As ModelItem) As Boolean
Parameters
- item
- ModelItem
The parent designer item to check.
- child
- ModelItem
The child designer item to check.
Returns
true
if item
is the parent of child
; otherwise, false
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.