Partager via


ShapeSubField.NavigateToFirst Method

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

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Overridable Function NavigateToFirst ( _
    parentShape As ShapeElement, _
    parentField As ShapeField, _
    selection As SelectedShapesCollection _
) As Boolean
public virtual bool NavigateToFirst(
    ShapeElement parentShape,
    ShapeField parentField,
    SelectedShapesCollection selection
)
public:
virtual bool NavigateToFirst(
    ShapeElement^ parentShape, 
    ShapeField^ parentField, 
    SelectedShapesCollection^ selection
)
abstract NavigateToFirst : 
        parentShape:ShapeElement * 
        parentField:ShapeField * 
        selection:SelectedShapesCollection -> bool  
override NavigateToFirst : 
        parentShape:ShapeElement * 
        parentField:ShapeField * 
        selection:SelectedShapesCollection -> bool
public function NavigateToFirst(
    parentShape : ShapeElement, 
    parentField : ShapeField, 
    selection : SelectedShapesCollection
) : boolean

Parameters

Return Value

Type: System.Boolean

Remarks

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

.NET Framework Security

See Also

Reference

ShapeSubField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace