Partilhar via


CoreWetStrokeUpdateSource.WetStrokeCompleted Evento

Definição

Ocorre depois que o InkPresenter para de processar um traço de tinta (WetStrokeStopping) ou CoreWetStrokeDisposition é definido como Concluído, indicando que o traço está concluído.

A entrada de tinta subsequente é considerada um novo traço.

// 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) 

Tipo de evento

Comentários

Um traço de tinta sempre dispara um evento WetStrokeCompleted ou WetStrokeCanceled .

NewInkPoints está sempre vazio para os eventos WetStrokeCompleted e WetStrokeCanceled .

NewInkPoints pode estar vazio para o evento WetStrokeStopping .

Aplica-se a

Confira também