共用方式為


HandwritingView.TextSubmitted 事件

定義

發生于按下 Enter 按鈕或在 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) 

事件類型

Windows 需求

裝置系列
Windows 10, version 2104 (已於 10.0.20348.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v12.0 引進)

適用於

另請參閱