InkStrokesCollectedEventArgs
InkStrokesCollectedEventArgs
InkStrokesCollectedEventArgs
InkStrokesCollectedEventArgs
Class
Definition
Contains event data for the StrokesCollected event of the InkPresenter associated with an InkCanvas control.
By default, an ink stroke is processed on a low-latency background thread and rendered wet as it is drawn. When the stroke is completed (pen or finger lifted, or mouse button released), the stroke is processed on the UI thread and rendered dry to the InkCanvas layer (above the application content). If the UI thread is busy, more than one ink stroke might be processed (collected) when the thread becomes available.
This behavior can be overridden by calling the ActivateCustomDrying method prior to loading the InkCanvas.
public : sealed class InkStrokesCollectedEventArgs : IInkStrokesCollectedEventArgspublic sealed class InkStrokesCollectedEventArgs : IInkStrokesCollectedEventArgsPublic NotInheritable Class InkStrokesCollectedEventArgs Implements IInkStrokesCollectedEventArgs// This API is not available in Javascript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Properties
Strokes Strokes Strokes Strokes
Gets the collection of processed ink strokes ("wet" to "dry") associated with the StrokesCollected event.
public : IVectorView<InkStroke> Strokes { get; }public IReadOnlyList<InkStroke> Strokes { get; }Public ReadOnly Property Strokes As IReadOnlyList<InkStroke>// This API is not available in Javascript.
- Value
- IVectorView<InkStroke> IReadOnlyList<InkStroke> IReadOnlyList<InkStroke> IReadOnlyList<InkStroke>
The processed ink strokes as a collection of InkStroke objects.
- See Also