ShapeElement.NavigateToLast Method
Navigates to the last shape in the navigation sequence in the parent of the current selection. Called in response to user navigation keystrokes.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Overridable Function NavigateToLast ( _
selection As SelectedShapesCollection _
) As Boolean
public virtual bool NavigateToLast(
SelectedShapesCollection selection
)
public:
virtual bool NavigateToLast(
SelectedShapesCollection^ selection
)
abstract NavigateToLast :
selection:SelectedShapesCollection -> bool
override NavigateToLast :
selection:SelectedShapesCollection -> bool
public function NavigateToLast(
selection : SelectedShapesCollection
) : boolean
Parameters
selection
Type: Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollectionThe selection in which the focus is to be changed.
Return Value
Type: System.Boolean
true if navigation occurred; otherwise, false.
Remarks
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.
By default, shape fields precede child shapes in the navigation sequence.
.NET Framework Security
- 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.