共用方式為


ShapeElement.OnMouseWheel Method

Called when the user has rotated the mouse wheel.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Overridable Sub OnMouseWheel ( _
    e As DiagramMouseEventArgs _
)
public virtual void OnMouseWheel(
    DiagramMouseEventArgs e
)
public:
virtual void OnMouseWheel(
    DiagramMouseEventArgs^ e
)
abstract OnMouseWheel : 
        e:DiagramMouseEventArgs -> unit 
override OnMouseWheel : 
        e:DiagramMouseEventArgs -> unit 
public function OnMouseWheel(
    e : DiagramMouseEventArgs
)

Parameters

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace