PanZoomAction Constructor
Initializes a new instance of the PanZoomAction class.
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 New ( _
diagram As Diagram _
)
public PanZoomAction(
Diagram diagram
)
public:
PanZoomAction(
Diagram^ diagram
)
new :
diagram:Diagram -> PanZoomAction
public function PanZoomAction(
diagram : Diagram
)
Parameters
- diagram
Type: Microsoft.VisualStudio.Modeling.Diagrams.Diagram
The diagram object that owns this MouseAction.
.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.