TextChangedEventArgs Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de la classe TextChangedEventArgs.
Surcharges
| Nom | Description |
|---|---|
| TextChangedEventArgs(RoutedEvent, UndoAction) |
Initialise une nouvelle instance de la TextChangedEventArgs classe à l’aide de l’ID d’événement spécifié et de l’action d’annulation. |
| TextChangedEventArgs(RoutedEvent, UndoAction, ICollection<TextChange>) |
Initialise une nouvelle instance de la TextChangedEventArgs classe à l’aide de l’ID d’événement spécifié, de l’action annuler et du texte. |
TextChangedEventArgs(RoutedEvent, UndoAction)
Initialise une nouvelle instance de la TextChangedEventArgs classe à l’aide de l’ID d’événement spécifié et de l’action d’annulation.
public:
TextChangedEventArgs(System::Windows::RoutedEvent ^ id, System::Windows::Controls::UndoAction action);
public TextChangedEventArgs(System.Windows.RoutedEvent id, System.Windows.Controls.UndoAction action);
new System.Windows.Controls.TextChangedEventArgs : System.Windows.RoutedEvent * System.Windows.Controls.UndoAction -> System.Windows.Controls.TextChangedEventArgs
Public Sub New (id As RoutedEvent, action As UndoAction)
Paramètres
- id
- RoutedEvent
Identificateur d’événement (ID).
- action
- UndoAction
Cause UndoAction de la modification du texte.
S’applique à
TextChangedEventArgs(RoutedEvent, UndoAction, ICollection<TextChange>)
Initialise une nouvelle instance de la TextChangedEventArgs classe à l’aide de l’ID d’événement spécifié, de l’action annuler et du texte.
public:
TextChangedEventArgs(System::Windows::RoutedEvent ^ id, System::Windows::Controls::UndoAction action, System::Collections::Generic::ICollection<System::Windows::Controls::TextChange ^> ^ changes);
public TextChangedEventArgs(System.Windows.RoutedEvent id, System.Windows.Controls.UndoAction action, System.Collections.Generic.ICollection<System.Windows.Controls.TextChange> changes);
new System.Windows.Controls.TextChangedEventArgs : System.Windows.RoutedEvent * System.Windows.Controls.UndoAction * System.Collections.Generic.ICollection<System.Windows.Controls.TextChange> -> System.Windows.Controls.TextChangedEventArgs
Public Sub New (id As RoutedEvent, action As UndoAction, changes As ICollection(Of TextChange))
Paramètres
- id
- RoutedEvent
Identificateur d’événement (ID).
- action
- UndoAction
Cause UndoAction de la modification du texte.
- changes
- ICollection<TextChange>
Modifications qui se sont produites pendant cet événement. Pour plus d’informations, consultez Changes.
Remarques
TextChangedEventArgs est introduit dans .NET Framework version 3.5. Pour plus d’informations, consultez Versions et dépendances.