Partager via


MouseAction.Activate(DiagramClientView) Method

Definition

Activates this MouseAction.

public:
 void Activate(Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ diagramClientView);
public void Activate (Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView diagramClientView);
member this.Activate : Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> unit
Public Sub Activate (diagramClientView As DiagramClientView)

Parameters

diagramClientView
DiagramClientView

The DiagramClientView that is activating this MouseAction.

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.

Applies to