Freigeben über


InkPicture.OnGesture Method

InkPicture.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 InkCollectorGestureEventArgs _
)
C# protected virtual void OnGesture(
InkCollectorGestureEventArgs e
);
Managed C++ protected: virtual void OnGesture(
InkCollectorGestureEventArgs *e
);

Parameters

e Microsoft.Ink.InkCollectorGestureEventArgs. The InkCollectorGestureEventArgs 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 Gesture event.

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