ShapeElement.FindPreviousChild(DiagramItem, Boolean) Method

Definition

Called by the child ShapeElement or ShapeField to get the child's first focusable sibling item preceding it in the navigation sequence.

public:
 Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ FindPreviousChild(Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ startFromChildItem, bool focusableRequired);
public Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem FindPreviousChild (Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem startFromChildItem, bool focusableRequired);
member this.FindPreviousChild : Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem * bool -> Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
Public Function FindPreviousChild (startFromChildItem As DiagramItem, focusableRequired As Boolean) As DiagramItem

Parameters

startFromChildItem
DiagramItem

The DiagramItem representing the child ShapeElement or ShapeField from which to start the search.
(This DiagramItem is not included in the search.)

focusableRequired
Boolean

A value indicating whether the DiagramItem to find must be focusable.

Returns

The preceding DiagramItem in the navigation sequence.

Applies to