共用方式為


ShapeSubField.NavigateToLast Method

Definition

Called by this ShapeSubField to set focus to this subfield's last sibling (i.e., the parent's last child) in the navigation sequence.

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

Parameters

parentShape
ShapeElement

The parent ShapeElement of this ShapeSubField.

parentField
ShapeField

The parent ShapeField of this ShapeSubField.

selection
SelectedShapesCollection

The current selection whose focus and selection will be updated.

Returns

True if navigation occurred, false otherwise.

Remarks

If a ShapeElement, ShapeField, or ShapeSubField is not focusable, it does not participate in the navigation sequence.

Applies to