RichEditBox.TextCompositionStarted Kejadian

Definisi

Terjadi ketika pengguna mulai menyusun teks melalui Editor Metode Input (IME).

// Register
event_token TextCompositionStarted(TypedEventHandler<RichEditBox, TextCompositionStartedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
RichEditBox::TextCompositionStarted_revoker TextCompositionStarted(auto_revoke_t, TypedEventHandler<RichEditBox, TextCompositionStartedEventArgs const&> const& handler) const;
public event TypedEventHandler<RichEditBox,TextCompositionStartedEventArgs> TextCompositionStarted;
function onTextCompositionStarted(eventArgs) { /* Your code */ }
richEditBox.addEventListener("textcompositionstarted", onTextCompositionStarted);
richEditBox.removeEventListener("textcompositionstarted", onTextCompositionStarted);
- or -
richEditBox.ontextcompositionstarted = onTextCompositionStarted;
Public Custom Event TextCompositionStarted As TypedEventHandler(Of RichEditBox, TextCompositionStartedEventArgs) 
<RichEditBox TextCompositionStarted="eventhandler"/>

Jenis Acara

Keterangan

Untuk data peristiwa, lihat TextCompositionStartedEventArgs.

Kejadian ini hanya terjadi ketika teks disusam melalui Editor Metode Input (IME). Peristiwa komposisi teks terjadi dalam urutan berikut:

Setelah peristiwa TextCompositionStarted, siklus peristiwa TextChanging>TextChanged>TextCompositionChanged dapat terjadi beberapa kali sebelum peristiwa TextCompositionEnded terjadi.

Berlaku untuk

Lihat juga