Navigates to the next shape in the navigation sequence. Called in response to user navigation keystrokes.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
'Declaration Public Overridable Function NavigateToNext ( _ selection As SelectedShapesCollection _ ) As Boolean
public virtual bool NavigateToNext( SelectedShapesCollection selection )
public: virtual bool NavigateToNext( SelectedShapesCollection^ selection )
abstract NavigateToNext : selection:SelectedShapesCollection -> bool override NavigateToNext : selection:SelectedShapesCollection -> bool
public function NavigateToNext( selection : SelectedShapesCollection ) : boolean
The selection in which the focus is to be changed.
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.
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.