ShapeElement.FindLastChild Method

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

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

Syntax

'Declaration
Public Function FindLastChild ( _
    focusableRequired As Boolean _
) As DiagramItem
public DiagramItem FindLastChild(
    bool focusableRequired
)
public:
DiagramItem^ FindLastChild(
    bool focusableRequired
)
member FindLastChild : 
        focusableRequired:bool -> DiagramItem
public function FindLastChild(
    focusableRequired : boolean
) : DiagramItem

Parameters

  • focusableRequired
    Type: 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 last 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