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 中引入)

适用于

另请参阅