Sdílet prostřednictvím


ShapeElement.NavigateToFirst(SelectedShapesCollection) Method

Definition

Called by this ShapeElement to set focus to this shape's first sibling (i.e., the parent's first child) in the navigation sequence.

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

Parameters

selection
SelectedShapesCollection

The current selection whose focus will be updated.

Returns

True if navigation occurred, false otherwise.

Remarks

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

Applies to