Share via


InkCollector.OnCursorOutOfRange Method

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

Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)

Syntax

'Declaration
Protected Overridable Sub OnCursorOutOfRange ( _
    e As InkCollectorCursorOutOfRangeEventArgs _
)
'Usage
Dim e As InkCollectorCursorOutOfRangeEventArgs

Me.OnCursorOutOfRange(e)
protected virtual void OnCursorOutOfRange (
    InkCollectorCursorOutOfRangeEventArgs e
)
protected:
virtual void OnCursorOutOfRange (
    InkCollectorCursorOutOfRangeEventArgs^ e
)
protected void OnCursorOutOfRange (
    InkCollectorCursorOutOfRangeEventArgs e
)
protected function OnCursorOutOfRange (
    e : InkCollectorCursorOutOfRangeEventArgs
)
Not applicable.

Parameters

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.

Platforms

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

InkCollector Class
InkCollector Members
Microsoft.Ink Namespace
InkCollector.CursorOutOfRange