Dela via


CoreWetStrokeUpdateSource.WetStrokeCompleted Event

Definition

Occurs after the InkPresenter stops processing an ink stroke (WetStrokeStopping) or CoreWetStrokeDisposition is set to Completed, indicating the stroke is complete.

Subsequent ink input is considered a new stroke.

// Register
event_token WetStrokeCompleted(TypedEventHandler<CoreWetStrokeUpdateSource, CoreWetStrokeUpdateEventArgs const&> const& handler) const;

// Revoke with event_token
void WetStrokeCompleted(event_token const* cookie) const;

// Revoke with event_revoker
CoreWetStrokeUpdateSource::WetStrokeCompleted_revoker WetStrokeCompleted(auto_revoke_t, TypedEventHandler<CoreWetStrokeUpdateSource, CoreWetStrokeUpdateEventArgs const&> const& handler) const;
public event TypedEventHandler<CoreWetStrokeUpdateSource,CoreWetStrokeUpdateEventArgs> WetStrokeCompleted;
function onWetStrokeCompleted(eventArgs) { /* Your code */ }
coreWetStrokeUpdateSource.addEventListener("wetstrokecompleted", onWetStrokeCompleted);
coreWetStrokeUpdateSource.removeEventListener("wetstrokecompleted", onWetStrokeCompleted);
- or -
coreWetStrokeUpdateSource.onwetstrokecompleted = onWetStrokeCompleted;
Public Custom Event WetStrokeCompleted As TypedEventHandler(Of CoreWetStrokeUpdateSource, CoreWetStrokeUpdateEventArgs) 

Event Type

Remarks

An ink stroke always triggers either a WetStrokeCompleted or a WetStrokeCanceled event.

NewInkPoints is always empty for the WetStrokeCompleted and WetStrokeCanceled events.

NewInkPoints might be empty for the WetStrokeStopping event.

Applies to

See also