Compartir a través de


ShapeField.FindPreviousChild(DiagramItem, Boolean) Method

Definition

Called by the ShapeSubField to get the next 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 ShapeSubField 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