Allows derived classes to modify the default behavior of the Gesture event.
Visual Basic .NET Overridable Protected Sub OnGesture( _
ByVal e As InkEditGestureEventArgs _
C# protected virtual void OnGesture(
Managed C++ protected: virtual void OnGesture(
e Microsoft.Ink.InkEditGestureEventArgs. The InkEditGestureEventArgs object that contains the event data.
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.