ShapeSubField::NavigateToFirst Method (ShapeElement^, ShapeField^, SelectedShapesCollection^)
Visual Studio 2015
Called by this ShapeSubField to set focus to this subfield's first sibling (i.e., the parent's first child) in the navigation sequence.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: virtual bool NavigateToFirst( ShapeElement^ parentShape, ShapeField^ parentField, SelectedShapesCollection^ selection )
Parameters
- parentShape
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::ShapeElement^
The parent ShapeElement of this ShapeSubField.
- parentField
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::ShapeField^
The parent ShapeField of this ShapeSubField.
- selection
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::SelectedShapesCollection^
The current selection whose focus and selection will be updated.
Return Value
Type: System::BooleanIf a ShapeElement, ShapeField, or ShapeSubField is not focusable, it does not participate in the navigation sequence.
Show: