Allows derived classes to modify the default behavior of the Stroke event.
Visual Basic .NET Overridable Protected Sub OnStroke( _
ByVal e As InkCollectorStrokeEventArgs _
C# protected virtual void OnStroke(
Managed C++ protected: virtual void OnStroke(
e Microsoft.Ink.InkCollectorStrokeEventArgs. The InkCollectorStrokeEventArgs object that contains the event data.
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 Stroke event.
When overriding this method in a derived class, call the OnStroke method of the base class so that registered delegates receive the event.