LinkShape.NavigateToFirst Method
Called in response to user’s keystroke navigation to set the focus on the first child of the parent of the current focus.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Overrides Function NavigateToFirst ( _
selection As SelectedShapesCollection _
) As Boolean
public override bool NavigateToFirst(
SelectedShapesCollection selection
)
public:
virtual bool NavigateToFirst(
SelectedShapesCollection^ selection
) override
abstract NavigateToFirst :
selection:SelectedShapesCollection -> bool
override NavigateToFirst :
selection:SelectedShapesCollection -> bool
public override function NavigateToFirst(
selection : SelectedShapesCollection
) : boolean
Parameters
selection
Type: Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollectionThe selection whose focus will be set. The current focus can be the LinkShape or one of its segments or anchor points.
Return Value
Type: Boolean
true if the focus was moved; otherwise, false.
Remarks
Override this method to vary the selection behavior. After determining the next item to select, you can call NavigateTo.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.