InkOverlay.OnMouseWheel Method
Allows derived classes to modify the default behavior of the MouseWheel event.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Protected Overridable Sub OnMouseWheel ( _
e As CancelMouseEventArgs _
)
'Usage
Dim e As CancelMouseEventArgs
Me.OnMouseWheel(e)
protected virtual void OnMouseWheel(
CancelMouseEventArgs e
)
protected:
virtual void OnMouseWheel(
CancelMouseEventArgs^ e
)
protected function OnMouseWheel(
e : CancelMouseEventArgs
)
Parameters
e
Type: Microsoft.Ink.CancelMouseEventArgsThe CancelMouseEventArgs object containing the event data.
Remarks
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.
Platforms
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 3.0