共用方式為


CoreInputView.SupportedKindsChanged 事件

定義

發生于CoreInputView支援的CoreInputViewKind檢視集合變更時。

// Register
event_token SupportedKindsChanged(TypedEventHandler<CoreInputView, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
CoreInputView::SupportedKindsChanged_revoker SupportedKindsChanged(auto_revoke_t, TypedEventHandler<CoreInputView, IInspectable const&> const& handler) const;
public event TypedEventHandler<CoreInputView,object> SupportedKindsChanged;
function onSupportedKindsChanged(eventArgs) { /* Your code */ }
coreInputView.addEventListener("supportedkindschanged", onSupportedKindsChanged);
coreInputView.removeEventListener("supportedkindschanged", onSupportedKindsChanged);
- or -
coreInputView.onsupportedkindschanged = onSupportedKindsChanged;
Public Custom Event SupportedKindsChanged As TypedEventHandler(Of CoreInputView, Object) 

事件類型

Windows 需求

裝置系列
Windows 11 (已於 10.0.22000.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v14.0 引進)

適用於

另請參閱