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

事件标识符 (ID) 。

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

事件标识符 (ID) 。

action
UndoAction

文本更改引起的 UndoAction

changes
ICollection<TextChange>

在此事件期间发生的更改。 有关详细信息,请参阅 Changes

注解

TextChangedEventArgs.NET Framework版本 3.5 中引入。 有关详细信息,请参见版本和依赖关系

适用于