InkPicture.OnStroke Method
InkPicture.OnStroke Method |
Allows derived classes to modify the default behavior of the Stroke event.
Definition
Visual Basic .NET Overridable Protected Sub OnStroke( _
ByVal e As InkCollectorStrokeEventArgs _
)C# protected virtual void OnStroke(
InkCollectorStrokeEventArgs e
);Managed C++ protected: virtual void OnStroke(
InkCollectorStrokeEventArgs *e
);
Parameters
e Microsoft.Ink.InkCollectorStrokeEventArgs. The InkCollectorStrokeEventArgs 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 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.
See Also