Compartilhar via


ShapeField.NavigateDescend(ShapeElement, SelectedShapesCollection) Method

Definition

Called by this ShapeField to set focus to its first focusable descendant in the navigation sequence.

public:
 virtual bool NavigateDescend(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::SelectedShapesCollection ^ selection);
public virtual bool NavigateDescend (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection selection);
abstract member NavigateDescend : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection -> bool
override this.NavigateDescend : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection -> bool
Public Overridable Function NavigateDescend (parentShape As ShapeElement, selection As SelectedShapesCollection) As Boolean

Parameters

parentShape
ShapeElement

The parent ShapeElement of this ShapeField.

selection
SelectedShapesCollection

The current selection whose focus and selection will be updated.

Returns

True if navigation occurred, false otherwise.

Remarks

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

Applies to