ShapeField.NavigateToLast(ShapeElement, SelectedShapesCollection) Method

Definition

Called by this ShapeField to set focus to this field's last sibling (i.e., the parent's last child) in the navigation sequence.

C++
public:
 virtual bool NavigateToLast(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::SelectedShapesCollection ^ selection);

Parameters

parentShape
ShapeElement

The parent ShapeElement of this ShapeField.

selection
SelectedShapesCollection

The current selection whose focus and selection will be updated.

Returns

True if navigation occurred, false otherwise.

Remarks

By default, shape fields precede child shapes in the navigation sequence.

Applies to

Product Versions
Visual Studio SDK 2017, 2019, 2022