Dela via


CoreWetStrokeUpdateSource.WetStrokeStopping Event

Definition

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.

Applies to

See also