Compartir a través de


TextBoxBeforeTextChangingEventArgs Clase

Definición

Proporciona datos de eventos para el evento TextBox.BeforeTextChanging .

public ref class TextBoxBeforeTextChangingEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class TextBoxBeforeTextChangingEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class TextBoxBeforeTextChangingEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class TextBoxBeforeTextChangingEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class TextBoxBeforeTextChangingEventArgs
Public NotInheritable Class TextBoxBeforeTextChangingEventArgs
Herencia
Object Platform::Object IInspectable TextBoxBeforeTextChangingEventArgs
Atributos

Requisitos de Windows

Familia de dispositivos
Windows 10 Fall Creators Update (se introdujo en la versión 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (se introdujo en la versión v5.0)

Comentarios

Una instancia de esta clase se pasa como parámetro al controlador de eventos BeforeTextChanging .

Propiedades

Cancel

Obtiene o establece un valor que indica si se van a cancelar los cambios de texto.

NewText

Obtiene el nuevo texto que se escribe en el cuadro de texto.

Se aplica a