共用方式為


InkCollector.OnDoubleClick Method

InkCollector.OnDoubleClick Method

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

Definition

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

Parameters

e System.ComponentModel.CancelEventArgs. The CancelEventArgs Leave Site 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 DoubleClick event.

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

See Also