LinkShape.NavigateToNext Method

Called in response to user’s keystroke navigation to set the focus to the next focusable item in the focus sequence.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public Overrides Function NavigateToNext ( _
    selection As SelectedShapesCollection _
) As Boolean
public override bool NavigateToNext(
    SelectedShapesCollection selection
)
public:
virtual bool NavigateToNext(
    SelectedShapesCollection^ selection
) override
abstract NavigateToNext : 
        selection:SelectedShapesCollection -> bool  
override NavigateToNext : 
        selection:SelectedShapesCollection -> bool
public override function NavigateToNext(
    selection : SelectedShapesCollection
) : boolean

Parameters

Return Value

Type: Boolean
true if the focus was moved; otherwise, false.

Remarks

Override this method to vary the selection behavior, for example to change the focusing sequence. After determining the next item to select, you can call NavigateTo.

.NET Framework Security

See Also

Reference

LinkShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace