次の方法で共有


InkEdit.OnGesture Method

InkEdit.OnGesture Method

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

Definition

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

Parameters

e Microsoft.Ink.InkEditGestureEventArgs. The InkEditGestureEventArgs object that contains the event data.

Remarks

Raising an event invokes the event handler through a delegate.

This method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

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

See Also