ShapeElement::NavigateToPrevious Method (SelectedShapesCollection^)

 

Navigates to the previously selected shape in the navigation sequence. 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)

public:
virtual bool NavigateToPrevious(
	SelectedShapesCollection^ selection
)

Parameters

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

The selection in which the focus is to be changed.

Return Value

Type: 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.

By default, shape fields precede child shapes in the navigation sequence.

Return to top
Show: