ShapeField.NavigateToLast(ShapeElement, SelectedShapesCollection) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
public virtual bool NavigateToLast(Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection selection);
abstract member NavigateToLast : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection -> bool
override this.NavigateToLast : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection -> bool
Public Overridable Function NavigateToLast (parentShape As ShapeElement, selection As SelectedShapesCollection) As Boolean
- parentShape
- ShapeElement
The parent ShapeElement of this ShapeField.
- selection
- SelectedShapesCollection
The current selection whose focus and selection will be updated.
True if navigation occurred, false otherwise.
By default, shape fields precede child shapes in the navigation sequence.
Product | Versions |
---|---|
Visual Studio SDK | 2017, 2019, 2022 |