ShapeElement.NavigateAscend Method

Navigates to the next ancestor in the navigation sequence and updates the focus. Called in response to user navigation keystrokes.

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

Syntax

'Declaration
Public Overridable Function NavigateAscend ( _
    selection As SelectedShapesCollection _
) As Boolean
'Usage
Dim instance As ShapeElement 
Dim selection As SelectedShapesCollection 
Dim returnValue As Boolean 

returnValue = instance.NavigateAscend(selection)
public virtual bool NavigateAscend(
    SelectedShapesCollection selection
)
public:
virtual bool NavigateAscend(
    SelectedShapesCollection^ selection
)
public function NavigateAscend(
    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

ShapeElement Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace