Partager via


ShapeField.NavigateToPrevious Method

Moves the focus to the previous shape field in the navigation sequence for the selected shapes.

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

Syntax

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

Parameters

Return Value

Type: System.Boolean
true if the focus moves to the previous shape in the navigation sequence; otherwise, false.

Remarks

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

.NET Framework Security

See Also

Reference

ShapeField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace