다음을 통해 공유


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에서 도입되었습니다.)

적용 대상

추가 정보