InkPicture.OnCursorOutOfRange Method

InkPicture.OnCursorOutOfRange Method

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

Definition

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

Parameters

e Microsoft.Ink.InkCollectorCursorOutOfRangeEventArgs. The InkCollectorCursorOutOfRangeEventArgs 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 CursorOutOfRange event.

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

See Also

Show: