SelectAction.Select(DiagramMouseEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.