SelectAction::Select Method (DiagramMouseEventArgs^)

 

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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

protected:
void Select(
	DiagramMouseEventArgs^ mouseArgs
)

Parameters

mouseArgs
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramMouseEventArgs^

A DiagramMouseEventArgs that contains the event data.

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.

Return to top
Show: