Compartilhar via


ShapeElement.FindFirstChild Method

Searches for the first child in the navigation sequence for the shape.

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

Syntax

'Declaração
Public Function FindFirstChild ( _
    focusableRequired As Boolean _
) As DiagramItem
public DiagramItem FindFirstChild(
    bool focusableRequired
)
public:
DiagramItem^ FindFirstChild(
    bool focusableRequired
)
member FindFirstChild : 
        focusableRequired:bool -> DiagramItem 
public function FindFirstChild(
    focusableRequired : boolean
) : DiagramItem

Parameters

  • focusableRequired
    Type: System.Boolean
    true if the child must be able to have focus to be considered; otherwise, false.

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
The first child in the navigation sequence for the shape.

Remarks

By default, shape fields precede child shapes in the navigation sequence.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace