TextBox.TextCompositionStarted イベント

定義

ユーザーが入力メソッド エディター (IME) を使用してテキストの作成を開始したときに発生します。

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

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

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

イベントの種類

注釈

イベント データについては、「 TextCompositionStartedEventArgs」を参照してください。

このイベントは、 入力メソッド エディター (IME) を使用してテキストが構成されている場合にのみ発生します。 テキスト合成イベントは、次の順序で発生します。

TextCompositionStarted イベントの後、TextCompositionEnded イベントが発生する前に TextChanging>TextChanged>TextCompositionChanged イベント サイクルが複数回発生する可能性があります。

適用対象

こちらもご覧ください