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
'宣告
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
- diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
The client view for the diagram.
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
- 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.