Delen via


RichEditBox.TextCompositionEnded Event

Definition

Occurs when a user stops composing text through an Input Method Editor (IME).

// Register
event_token TextCompositionEnded(TypedEventHandler<RichEditBox, TextCompositionEndedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
RichEditBox::TextCompositionEnded_revoker TextCompositionEnded(auto_revoke_t, TypedEventHandler<RichEditBox, TextCompositionEndedEventArgs const&> const& handler) const;
public event TypedEventHandler<RichEditBox,TextCompositionEndedEventArgs> TextCompositionEnded;
function onTextCompositionEnded(eventArgs) { /* Your code */ }
richEditBox.addEventListener("textcompositionended", onTextCompositionEnded);
richEditBox.removeEventListener("textcompositionended", onTextCompositionEnded);
- or -
richEditBox.ontextcompositionended = onTextCompositionEnded;
Public Custom Event TextCompositionEnded As TypedEventHandler(Of RichEditBox, TextCompositionEndedEventArgs) 
<RichEditBox TextCompositionEnded="eventhandler"/>

Event Type

Remarks

For event data, see TextCompositionEndedEventArgs.

This event occurs only when text is composed through an Input Method Editor (IME). Text composition events occur in the following order:

After the TextCompositionStarted event, the TextChanging > TextChanged > TextCompositionChanged event cycle can occur multiple times before the TextCompositionEnded event occurs.

Applies to

See also