TextBox.SelectionChanging イベント

定義

テキストの選択が変更され始めると発生します。

// Register
event_token SelectionChanging(TypedEventHandler<TextBox, TextBoxSelectionChangingEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
TextBox::SelectionChanging_revoker SelectionChanging(auto_revoke_t, TypedEventHandler<TextBox, TextBoxSelectionChangingEventArgs const&> const& handler) const;
public event TypedEventHandler<TextBox,TextBoxSelectionChangingEventArgs> SelectionChanging;
function onSelectionChanging(eventArgs) { /* Your code */ }
textBox.addEventListener("selectionchanging", onSelectionChanging);
textBox.removeEventListener("selectionchanging", onSelectionChanging);
- or -
textBox.onselectionchanging = onSelectionChanging;
Public Custom Event SelectionChanging As TypedEventHandler(Of TextBox, TextBoxSelectionChangingEventArgs) 
<TextBox SelectionChanging="eventhandler"/>

イベントの種類

Windows の要件

デバイス ファミリ
Windows 10, version 1809 (10.0.17763.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v7.0 で導入)

適用対象

こちらもご覧ください