HandwritingView.TextSubmitted Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
|