TextBoxBeforeTextChangingEventArgs TextBoxBeforeTextChangingEventArgs TextBoxBeforeTextChangingEventArgs TextBoxBeforeTextChangingEventArgs Class

Definition

Provides event data for the TextBox.BeforeTextChanging event.

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

Windows 10 requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Remarks

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

Properties

Cancel Cancel Cancel Cancel

Gets or sets a value that indicates whether to cancel the text changes.

NewText NewText NewText NewText

Gets the new text that is entered into the text box.