次の方法で共有


ShapeElement.NavigateToPrevious(SelectedShapesCollection) Method

Definition

Called by this ShapeElement to set focus to the previous object in the navigation sequence. The selection's focused item is ignored; this shape is assumed to be the ShapeElement from which to start navigating.

public:
 virtual bool NavigateToPrevious(Microsoft::VisualStudio::Modeling::Diagrams::SelectedShapesCollection ^ selection);
public virtual bool NavigateToPrevious (Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection selection);
abstract member NavigateToPrevious : Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection -> bool
override this.NavigateToPrevious : Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection -> bool
Public Overridable Function NavigateToPrevious (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