共用方式為


TextChangedEventArgs 建構函式

定義

初始化 TextChangedEventArgs 類別的新執行個體。

多載

TextChangedEventArgs(RoutedEvent, UndoAction)

使用指定的事件 ID 和復原動作,初始化 TextChangedEventArgs 類別的新執行個體。

TextChangedEventArgs(RoutedEvent, UndoAction, ICollection<TextChange>)

使用指定的事件 ID、復原動作和文字變更,初始化 TextChangedEventArgs 類別的新執行個體。

TextChangedEventArgs(RoutedEvent, UndoAction)

使用指定的事件 ID 和復原動作,初始化 TextChangedEventArgs 類別的新執行個體。

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)

參數

id
RoutedEvent

事件識別碼 (識別碼) 。

action
UndoAction

文字變更所造成的 UndoAction

適用於

TextChangedEventArgs(RoutedEvent, UndoAction, ICollection<TextChange>)

使用指定的事件 ID、復原動作和文字變更,初始化 TextChangedEventArgs 類別的新執行個體。

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

參數

id
RoutedEvent

事件識別碼 (識別碼) 。

action
UndoAction

文字變更所造成的 UndoAction

changes
ICollection<TextChange>

在這個事件期間發生的變更。 如需詳細資訊,請參閱Changes

備註

TextChangedEventArgs.NET Framework 3.5 版引進。 如需詳細資訊,請參閱版本和相依性

適用於