Partager via


MouseAction.Activate Method

Activates 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

'Déclaration
Public Sub Activate ( _
    diagramClientView As DiagramClientView _
)
public void Activate(
    DiagramClientView diagramClientView
)
public:
void Activate(
    DiagramClientView^ diagramClientView
)
member Activate : 
        diagramClientView:DiagramClientView -> unit 
public function Activate(
    diagramClientView : DiagramClientView
)

Parameters

Remarks

This method is called by the DiagramClientView to activate this MouseAction. Typically you should not need to call this method directly. Instead, set the DiagramClientView's ActiveMouseAction property to the MouseAction you want to activate.

.NET Framework Security

See Also

Reference

MouseAction Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace