Share via


TextBoxBeforeTextChangingEventArgs Classe

Définition

Fournit des données d’événement pour l’événement TextBox.BeforeTextChanging .

public ref class TextBoxBeforeTextChangingEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class TextBoxBeforeTextChangingEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class TextBoxBeforeTextChangingEventArgs
Public NotInheritable Class TextBoxBeforeTextChangingEventArgs
Héritage
Object Platform::Object IInspectable TextBoxBeforeTextChangingEventArgs
Attributs

Remarques

Un instance de cette classe est passé en tant que paramètre au gestionnaire d’événements BeforeTextChanging.

Propriétés

Cancel

Obtient ou définit une valeur qui indique s’il faut annuler les modifications de texte.

NewText

Obtient le nouveau texte entré dans la zone de texte.

S’applique à