CoreWetStrokeUpdateSource.WetStrokeStopping 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 the InkPresenter stops processing an ink stroke, but before the stroke is finalized (WetStrokeCompleted).
// Register
event_token WetStrokeStopping(TypedEventHandler<CoreWetStrokeUpdateSource, CoreWetStrokeUpdateEventArgs const&> const& handler) const;
// Revoke with event_token
void WetStrokeStopping(event_token const* cookie) const;
// Revoke with event_revoker
CoreWetStrokeUpdateSource::WetStrokeStopping_revoker WetStrokeStopping(auto_revoke_t, TypedEventHandler<CoreWetStrokeUpdateSource, CoreWetStrokeUpdateEventArgs const&> const& handler) const;
public event TypedEventHandler<CoreWetStrokeUpdateSource,CoreWetStrokeUpdateEventArgs> WetStrokeStopping;
function onWetStrokeStopping(eventArgs) { /* Your code */ }
coreWetStrokeUpdateSource.addEventListener("wetstrokestopping", onWetStrokeStopping);
coreWetStrokeUpdateSource.removeEventListener("wetstrokestopping", onWetStrokeStopping);
- or -
coreWetStrokeUpdateSource.onwetstrokestopping = onWetStrokeStopping;
Public Custom Event WetStrokeStopping As TypedEventHandler(Of CoreWetStrokeUpdateSource, CoreWetStrokeUpdateEventArgs)
Event Type
Remarks
NewInkPoints is always empty for the WetStrokeCompleted and WetStrokeCanceled events.
NewInkPoints might be empty for the WetStrokeStopping event.