Partilhar via


SelectAction.Select(DiagramMouseEventArgs) Method

Definition

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.

protected:
 void Select(Microsoft::VisualStudio::Modeling::Diagrams::DiagramMouseEventArgs ^ mouseArgs);
protected void Select (Microsoft.VisualStudio.Modeling.Diagrams.DiagramMouseEventArgs mouseArgs);
member this.Select : Microsoft.VisualStudio.Modeling.Diagrams.DiagramMouseEventArgs -> unit
Protected Sub Select (mouseArgs As DiagramMouseEventArgs)

Parameters

mouseArgs
DiagramMouseEventArgs

A DiagramMouseEventArgs that contains the event data.

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.

Applies to