|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Navigates to the next ancestor in the navigation sequence and updates the focus. Called in response to user navigation keystrokes.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
- Type: Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection
The selection in which the focus is to be changed.
Return ValueType: System.Boolean
true if navigation occurred; otherwise, false.
Override this method to vary the selection behavior, for example to change the navigation sequence. After determining the next item to select, you can call NavigateTo(DiagramItem, SelectedShapesCollection).
By default, shape fields precede child shapes in the navigation sequence.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.