MouseAction Constructor (Diagram)
Initializes a new instance of the MouseAction class.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Protected Sub New ( _
diagram As Diagram _
)
protected MouseAction(
Diagram diagram
)
protected:
MouseAction(
Diagram^ diagram
)
new :
diagram:Diagram -> MouseAction
protected function MouseAction(
diagram : Diagram
)
Parameters
diagram
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramThe diagram where the mouse action can occur.
.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.