This topic has not yet been rated - Rate this topic

MouseAction.Activate Method

Activates the mouse action.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
public void Activate(
	DiagramClientView diagramClientView
)

Parameters

diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView

The client view for the diagram.

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.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.