InkStrokeInput.StrokeCanceled Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when ink input bubbles up to another system event handler, such as a context menu.
// Register
event_token StrokeCanceled(TypedEventHandler<InkStrokeInput, PointerEventArgs const&> const& handler) const;
// Revoke with event_token
void StrokeCanceled(event_token const* cookie) const;
// Revoke with event_revoker
InkStrokeInput::StrokeCanceled_revoker StrokeCanceled(auto_revoke_t, TypedEventHandler<InkStrokeInput, PointerEventArgs const&> const& handler) const;
public event TypedEventHandler<InkStrokeInput,PointerEventArgs> StrokeCanceled;
function onStrokeCanceled(eventArgs) { /* Your code */ }
inkStrokeInput.addEventListener("strokecanceled", onStrokeCanceled);
inkStrokeInput.removeEventListener("strokecanceled", onStrokeCanceled);
- or -
inkStrokeInput.onstrokecanceled = onStrokeCanceled;
Public Custom Event StrokeCanceled As TypedEventHandler(Of InkStrokeInput, PointerEventArgs)
Event Type
Applies to
See also
- Pen and stylus interactions
- Get started: Support ink in your UWP app
- Ink analysis sample (basic) (C#)
- Ink handwriting recognition sample (C#)
- Save and load ink strokes from an Ink Serialized Format (ISF) file
- Save and load ink strokes from the clipboard
- Ink toolbar location and orientation sample (basic)
- Ink toolbar location and orientation sample (dynamic)
- Coloring book sample
- Family notes sample
- Inking sample (JavaScript)
- Simple inking sample (C#/C++)
- Complex inking sample (C++)
- Ink analysis sample