Bewerken

Delen via


TextCompositionEventArgs(InputDevice, TextComposition) Constructor

Definition

Initializes a new instance of the TextCompositionEventArgs class, taking a specified InputDevice and TextComposition as initial values for the class.

public:
 TextCompositionEventArgs(System::Windows::Input::InputDevice ^ inputDevice, System::Windows::Input::TextComposition ^ composition);
public TextCompositionEventArgs (System.Windows.Input.InputDevice inputDevice, System.Windows.Input.TextComposition composition);
new System.Windows.Input.TextCompositionEventArgs : System.Windows.Input.InputDevice * System.Windows.Input.TextComposition -> System.Windows.Input.TextCompositionEventArgs
Public Sub New (inputDevice As InputDevice, composition As TextComposition)

Parameters

inputDevice
InputDevice

The input device associated with this event.

composition
TextComposition

A TextComposition object associated with this event.

Exceptions

Raised when composition is null.

Applies to