Megosztás a következőn keresztül:


CoreInputView.SupportedKindsChanged Event

Definition

Occurs when the collection of supported CoreInputViewKind views for the CoreInputView changes.

// 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) 

Event Type

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Applies to

See also