PanZoomAction.OnMouseWheel Method
Zooms in and out.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
Protected Overrides Sub OnMouseWheel ( _
e As DiagramMouseEventArgs _
)
protected override void OnMouseWheel(
DiagramMouseEventArgs e
)
protected:
virtual void OnMouseWheel(
DiagramMouseEventArgs^ e
) override
abstract OnMouseWheel :
e:DiagramMouseEventArgs -> unit
override OnMouseWheel :
e:DiagramMouseEventArgs -> unit
protected override function OnMouseWheel(
e : DiagramMouseEventArgs
)
Parameters
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramMouseEventArgs
A DiagramMouseEventArgs that contains event data.
.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.