Bagikan melalui


InkOverlay.OnCursorInRange Method

InkOverlay.OnCursorInRange Method

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

Definition

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

Parameters

e Microsoft.Ink.InkCollectorCursorInRangeEventArgs. The InkCollectorCursorInRangeEventArgs 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 CursorInRange event.

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

See Also