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.

C++
public:
 Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ FindPreviousChild(Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ startFromChildItem, bool focusableRequired);

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

Product Versions
Visual Studio SDK 2017, 2019, 2022