Freigeben über


ShapeElement.NavigateToPrevious Method

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

Syntax

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

Parameters

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(DiagramItem, SelectedShapesCollection).

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

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace