Share via


ComboBox.TextSubmitted Kejadian

Definisi

Terjadi ketika pengguna mengirimkan beberapa teks yang tidak sesuai dengan item di daftar dropdown ComboBox.

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

Jenis Acara

Persyaratan Windows

Rangkaian perangkat
Windows 10, version 1809 (diperkenalkan dalam 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v7.0)

Berlaku untuk