共用方式為


ShapeField.OnMouseWheel Method

Alerts listeners when the mouse has been rotated over a shape field.

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

ShapeField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace