ComboBox.TextSubmitted Ereignis

Definition

Tritt auf, wenn der Benutzer Text übermittelt, der nicht einem Element in der Dropdownliste ComboBox entspricht.

// Register
event_token TextSubmitted(TypedEventHandler<ComboBox, ComboBoxTextSubmittedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
ComboBox::TextSubmitted_revoker TextSubmitted(auto_revoke_t, TypedEventHandler<ComboBox, ComboBoxTextSubmittedEventArgs const&> const& handler) const;
public event TypedEventHandler<ComboBox,ComboBoxTextSubmittedEventArgs> TextSubmitted;
function onTextSubmitted(eventArgs) { /* Your code */ }
comboBox.addEventListener("textsubmitted", onTextSubmitted);
comboBox.removeEventListener("textsubmitted", onTextSubmitted);
- or -
comboBox.ontextsubmitted = onTextSubmitted;
Public Custom Event TextSubmitted As TypedEventHandler(Of ComboBox, ComboBoxTextSubmittedEventArgs) 

Ereignistyp

Windows-Anforderungen

Gerätefamilie
Windows 10, version 1809 (eingeführt in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v7.0)

Gilt für: