HandwritingView.TextSubmitted 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
發生于按下 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 引進)
|