CoreInputView.SupportedKindsChanged 事件

定义

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

适用于

另请参阅