MouseAction.GotFocus Method
Assigns the focus to the mouse action.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Public Sub GotFocus ( _
diagramArgs As DiagramEventArgs _
)
public void GotFocus(
DiagramEventArgs diagramArgs
)
public:
void GotFocus(
DiagramEventArgs^ diagramArgs
)
member GotFocus :
diagramArgs:DiagramEventArgs -> unit
public function GotFocus(
diagramArgs : DiagramEventArgs
)
Parameters
- diagramArgs
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramEventArgs
The arguments for an event that occurs over the diagram.
.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.