ModelItemExtensions.IsParentOf Method (ModelItem, ModelItem)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns a value that indicates whether the first specified designer item is a parent of the second specified designer item.

Namespace:   System.Activities.Presentation.Model
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

public static bool IsParentOf(
	this ModelItem item,
	ModelItem child
)

Parameters

item
Type: System.Activities.Presentation.Model.ModelItem

The parent designer item to check.

child
Type: System.Activities.Presentation.Model.ModelItem

The child designer item to check.

Return Value

Type: System.Boolean

true if item is the parent of child; otherwise, false.

.NET Framework
Available since 4.0
Return to top
Show: