Modifier

Partager via


TextChangedEventArgs Constructors

Definition

Initializes a new instance of the TextChangedEventArgs class.

Overloads

TextChangedEventArgs(RoutedEvent, UndoAction)

Initializes a new instance of the TextChangedEventArgs class, using the specified event ID and undo action.

TextChangedEventArgs(RoutedEvent, UndoAction, ICollection<TextChange>)

Initializes a new instance of the TextChangedEventArgs class, using the specified event ID, undo action, and text changes.

TextChangedEventArgs(RoutedEvent, UndoAction)

Initializes a new instance of the TextChangedEventArgs class, using the specified event ID and undo action.

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)

Parameters

id
RoutedEvent

The event identifier (ID).

action
UndoAction

The UndoAction caused by the text change.

Applies to

TextChangedEventArgs(RoutedEvent, UndoAction, ICollection<TextChange>)

Initializes a new instance of the TextChangedEventArgs class, using the specified event ID, undo action, and text changes.

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))

Parameters

id
RoutedEvent

The event identifier (ID).

action
UndoAction

The UndoAction caused by the text change.

changes
ICollection<TextChange>

The changes that occurred during this event. For more information, see Changes.

Remarks

TextChangedEventArgs is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.

Applies to