Share via


SelectAction.Select Method

Selects the first selectable diagram item (shape, field, or subfield) under the mouse cursor and sets focus to the first item that can receive 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
Protected Sub Select ( _
    mouseArgs As DiagramMouseEventArgs _
)
protected void Select(
    DiagramMouseEventArgs mouseArgs
)
protected:
void Select(
    DiagramMouseEventArgs^ mouseArgs
)
member Select : 
        mouseArgs:DiagramMouseEventArgs -> unit
protected function Select(
    mouseArgs : DiagramMouseEventArgs
)

Parameters

Remarks

The first selectable or focusable item is found by querying the subfield first, then its parent field, then its parent shape, and then on up through the shape parent hierarchy.

.NET Framework Security

See Also

Reference

SelectAction Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace