Sdílet prostřednictvím


InkCollector.OnMouseMove Method

InkCollector.OnMouseMove Method

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

Definition

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

Parameters

e Microsoft.Ink.CancelMouseEventArgs. The CancelMouseEventArgs object that contains 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 MouseMove event.

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

See Also