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

public virtual bool NavigateAscend(
	ShapeElement parentShape,
	SelectedShapesCollection selection


Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement

The shape element to which the shape field is assigned.

Type: Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection

The group of shapes that are selected and can be navigated.

Return Value

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

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