ShapeField.FindFirstChild Method (ShapeElement, Boolean)

 

Locates the first child shape field in the parent shape field.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public DiagramItem FindFirstChild(
	ShapeElement parentShape,
	bool focusableRequired
)

Parameters

parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement

The parent shape field.

focusableRequired
Type: System.Boolean

true to consider only child shape fields that can receive focus; otherwise, false.

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem

The first child shape field in the parent shape field.

Return to top
Show: