Share via


InkPicture.OnCursorInRange Method

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

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

Syntax

'Declaration
Protected Overridable Sub OnCursorInRange ( _
    e As InkCollectorCursorInRangeEventArgs _
)
'Usage
Dim e As InkCollectorCursorInRangeEventArgs 

Me.OnCursorInRange(e)
protected virtual void OnCursorInRange(
    InkCollectorCursorInRangeEventArgs e
)
protected:
virtual void OnCursorInRange(
    InkCollectorCursorInRangeEventArgs^ e
)
protected function OnCursorInRange(
    e : InkCollectorCursorInRangeEventArgs
)

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 CursorInRange.

When overriding this method in a derived class, call the OnCursorInRange 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

See Also

Reference

InkPicture Class

InkPicture Members

Microsoft.Ink Namespace

InkPicture.CursorInRange