Compartilhar via


HandwritingView.TextSubmitted Evento

Definição

Ocorre quando o botão Enter é pressionado ou o gesto de confirmação é detectado no HandwritingView.

// Register
event_token TextSubmitted(TypedEventHandler<HandwritingView, HandwritingViewTextSubmittedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
HandwritingView::TextSubmitted_revoker TextSubmitted(auto_revoke_t, TypedEventHandler<HandwritingView, HandwritingViewTextSubmittedEventArgs const&> const& handler) const;
public event TypedEventHandler<HandwritingView,HandwritingViewTextSubmittedEventArgs> TextSubmitted;
function onTextSubmitted(eventArgs) { /* Your code */ }
handwritingView.addEventListener("textsubmitted", onTextSubmitted);
handwritingView.removeEventListener("textsubmitted", onTextSubmitted);
- or -
handwritingView.ontextsubmitted = onTextSubmitted;
Public Custom Event TextSubmitted As TypedEventHandler(Of HandwritingView, HandwritingViewTextSubmittedEventArgs) 

Tipo de evento

Requisitos do Windows

Família de dispositivos
Windows 10, version 2104 (introduzida na 10.0.20348.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v12.0)

Aplica-se a

Confira também