Partager via


LinkShape.NavigateToPrevious Method

Called in response to user’s keystroke navigation to set the focus to the previous item in the focusing sequence.

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

Syntax

'Déclaration
Public Overrides Function NavigateToPrevious ( _
    selection As SelectedShapesCollection _
) As Boolean
public override bool NavigateToPrevious(
    SelectedShapesCollection selection
)
public:
virtual bool NavigateToPrevious(
    SelectedShapesCollection^ selection
) override
abstract NavigateToPrevious : 
        selection:SelectedShapesCollection -> bool 
override NavigateToPrevious : 
        selection:SelectedShapesCollection -> bool 
public override function NavigateToPrevious(
    selection : SelectedShapesCollection
) : boolean

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

LinkShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace