Export (0) Print
Expand All
Expand Minimize

InkOverlay.OnMouseWheel Method

InkOverlay.OnMouseWheel Method

Allows derived classes to modify the default behavior of the MouseWheel event.


Visual Basic .NET Overridable Protected Sub OnMouseWheel( _
ByVal e As CancelMouseEventArgs _
C# protected virtual void OnMouseWheel(
CancelMouseEventArgs e
Managed C++ protected: virtual void OnMouseWheel(
CancelMouseEventArgs *e


e Microsoft.Ink.CancelMouseEventArgs. The CancelMouseEventArgs object that contains the event data.


Raising an event invokes the event handler through a delegate.

In derived classes, this method is called only if a delegate is attached to the MouseWheel event.

When overriding this method in a derived class, call the OnMouseWheel method of the base class so that registered delegates receive the event.

See Also

© 2014 Microsoft