Occurs when the user rotates the mouse wheel.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Event MouseWheel As DiagramMouseEventHandler
'使用
Dim instance As ShapeElement
Dim handler As DiagramMouseEventHandler
AddHandler instance.MouseWheel, handler
public event DiagramMouseEventHandler MouseWheel
public:
event DiagramMouseEventHandler^ MouseWheel {
void add (DiagramMouseEventHandler^ value);
void remove (DiagramMouseEventHandler^ value);
}
JScript does not support events.
Permissions
- 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.