TextChangedEventArgs Konstruktorer

Definition

Initierar en ny instans av TextChangedEventArgs klassen.

Överlagringar

Name Description
TextChangedEventArgs(RoutedEvent, UndoAction)

Initierar en ny instans av TextChangedEventArgs klassen med det angivna händelse-ID:t och ångra åtgärden.

TextChangedEventArgs(RoutedEvent, UndoAction, ICollection<TextChange>)

Initierar en ny instans av TextChangedEventArgs klassen med angivet händelse-ID, ångra-åtgärd och textändringar.

TextChangedEventArgs(RoutedEvent, UndoAction)

Initierar en ny instans av TextChangedEventArgs klassen med det angivna händelse-ID:t och ångra åtgärden.

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)

Parametrar

id
RoutedEvent

Händelseidentifieraren (ID).

action
UndoAction

Orsaken UndoAction till textändringen.

Gäller för

TextChangedEventArgs(RoutedEvent, UndoAction, ICollection<TextChange>)

Initierar en ny instans av TextChangedEventArgs klassen med angivet händelse-ID, ångra-åtgärd och textändringar.

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

Parametrar

id
RoutedEvent

Händelseidentifieraren (ID).

action
UndoAction

Orsaken UndoAction till textändringen.

changes
ICollection<TextChange>

De ändringar som inträffade under den här händelsen. Mer information finns i Changes.

Kommentarer

TextChangedEventArgs introduceras i .NET Framework version 3.5. Mer information finns i Versioner och beroenden.

Gäller för