共用方式為


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

.NET Framework Security

See Also

Reference

MouseAction Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace