CoreInputView.SupportedKindsChanged 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
發生于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)
事件類型
TypedEventHandler<CoreInputView,IInspectable>
Windows 需求
裝置系列 |
Windows 11 (已於 10.0.22000.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v14.0 引進)
|