TextBoxSelectionChangingEventArgs TextBoxSelectionChangingEventArgs TextBoxSelectionChangingEventArgs TextBoxSelectionChangingEventArgs Class

Definition

Provides event data for the TextBox.SelectionChanging event.

public : sealed class TextBoxSelectionChangingEventArgs
struct winrt::Windows::UI::Xaml::Controls::TextBoxSelectionChangingEventArgs
public sealed class TextBoxSelectionChangingEventArgs
Public NotInheritable Class TextBoxSelectionChangingEventArgs
Attributes

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)

Remarks

An instance of this class is passed as a parameter to the SelectionChanging event handler.

Properties

Cancel Cancel Cancel Cancel

Gets or sets a value that indicates whether the selection operation should be canceled.

SelectionLength SelectionLength SelectionLength SelectionLength

Gets the length of the text selection.

SelectionStart SelectionStart SelectionStart SelectionStart

Gets the starting index of the text selection.