ShapeElement.NavigateDescend Method

Navigates to the next descendent 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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)


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


Return Value

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

.NET Framework Security

See Also


ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace