LinkShape::NavigateToNext Method (SelectedShapesCollection^)

 

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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
virtual bool NavigateToNext(
	SelectedShapesCollection^ selection
) override

Parameters

selection
Type: Microsoft.VisualStudio.Modeling.Diagrams::SelectedShapesCollection^

The selection whose focus is to be changed. The current focus can be this LinkShape or one of its segments or anchor points.

Return Value

Type: System::Boolean

true if the focus was moved; otherwise, false.

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.

Return to top
Show: