InkCanvas.OnStrokeCollected(InkCanvasStrokeCollectedEventArgs) Method

Definition

Raises the StrokeCollected event.

protected:
 virtual void OnStrokeCollected(System::Windows::Controls::InkCanvasStrokeCollectedEventArgs ^ e);
protected virtual void OnStrokeCollected (System.Windows.Controls.InkCanvasStrokeCollectedEventArgs e);
abstract member OnStrokeCollected : System.Windows.Controls.InkCanvasStrokeCollectedEventArgs -> unit
override this.OnStrokeCollected : System.Windows.Controls.InkCanvasStrokeCollectedEventArgs -> unit
Protected Overridable Sub OnStrokeCollected (e As InkCanvasStrokeCollectedEventArgs)

Parameters

Remarks

OnStrokeCollected is called when a user physically completes a stroke, for example, by raising the stylus from a tablet after making a motion.

A programmatic addition of strokes to the Strokes collection will not call the OnStrokeCollected method.

Applies to