共用方式為


InkOverlay.OnCursorDown Method

InkOverlay.OnCursorDown Method

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

Definition

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

Parameters

e Microsoft.Ink.InkCollectorCursorDownEventArgs. The InkCollectorCursorDownEventArgs 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 CursorDown event.

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

See Also