ShapeElement.FindNextInChildFields(ShapeField, Boolean) Method

Definition

Finds the first DiagramItem following the specified ShapeField. The search is confined to this shape's ShapeField collection, including its subfields.

C++
public:
 Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ FindNextInChildFields(Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ startFromField, bool focusableRequired);

Parameters

startFromField
ShapeField

The field from which to start the search. (This field is not included in the search.) If null, the search begins with the first field in the ShapeFields collection.

focusableRequired
Boolean

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

Returns

The first DiagramItem following the specified ShapeField.

Remarks

This method may traverse descendents of the child fields looking for a viable next item.

Applies to

Product Versions
Visual Studio SDK 2017, 2019, 2022