Share via


InkCollector.OnCursorButtonDown Method

InkCollector.OnCursorButtonDown Method

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

Definition

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

Parameters

e Microsoft.Ink.InkCollectorCursorButtonDownEventArgs. The InkCollectorCursorButtonDownEventArgs 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 CursorButtonDown event.

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

See Also