共用方式為


HandwritingView.CandidatesChanged 事件

定義

發生于 HandwritingView 自動完成候選項目的集合變更時。

// Register
event_token CandidatesChanged(TypedEventHandler<HandwritingView, HandwritingViewCandidatesChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
HandwritingView::CandidatesChanged_revoker CandidatesChanged(auto_revoke_t, TypedEventHandler<HandwritingView, HandwritingViewCandidatesChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<HandwritingView,HandwritingViewCandidatesChangedEventArgs> CandidatesChanged;
function onCandidatesChanged(eventArgs) { /* Your code */ }
handwritingView.addEventListener("candidateschanged", onCandidatesChanged);
handwritingView.removeEventListener("candidateschanged", onCandidatesChanged);
- or -
handwritingView.oncandidateschanged = onCandidatesChanged;
Public Custom Event CandidatesChanged As TypedEventHandler(Of HandwritingView, HandwritingViewCandidatesChangedEventArgs) 

事件類型

Windows 需求

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

適用於

另請參閱