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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
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
- mouseArgs
Type: Microsoft.VisualStudio.Modeling.Diagrams.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.
.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.