Share via


HandwritingView.TextSubmitted Event

Definition

Occurs when the Enter button is pressed or the commit gesture is detected on the 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) 

Event Type

Windows requirements

Device family
Windows 10, version 2104 (introduced in 10.0.20348.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v12.0)

Applies to

See also