TextBoxBeforeTextChangingEventArgs
TextBoxBeforeTextChangingEventArgs
TextBoxBeforeTextChangingEventArgs
TextBoxBeforeTextChangingEventArgs
Class
Definition
Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prerelease APIs are identified by a Prerelease label.
[Contains prerelease APIs.]
Provides event data for the TextBox.BeforeTextChanging event.
public : sealed class TextBoxBeforeTextChangingEventArgs : ITextBoxBeforeTextChangingEventArgspublic sealed class TextBoxBeforeTextChangingEventArgs : ITextBoxBeforeTextChangingEventArgsPublic NotInheritable Class TextBoxBeforeTextChangingEventArgs Implements ITextBoxBeforeTextChangingEventArgs// This API is not available in Javascript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.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
Prerelease. Gets or sets a value that indicates whether to cancel the text changes.
public : PlatForm::Boolean Cancel { get; set; }public bool Cancel { get; set; }Public ReadWrite Property Cancel As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
true to cancel the text changes; otherwise, false. The default is false.
NewText NewText NewText NewText
Prerelease. Gets the new text that is entered into the text box.
public : PlatForm::String NewText { get; }public string NewText { get; }Public ReadOnly Property NewText As string// This API is not available in Javascript.
- Value
- PlatForm::String string string string
The new text value that is entered into the text box.