Udostępnij za pośrednictwem


LinkShape.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. This also handles NavigateToFirst for LineSegments and AnchorPoints since key events are not routed to them.

public:
 override bool NavigateToFirst(Microsoft::VisualStudio::Modeling::Diagrams::SelectedShapesCollection ^ selection);
public override bool NavigateToFirst (Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection selection);
override this.NavigateToFirst : Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection -> bool
Public Overrides 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.

Applies to