TextCompositionEventArgs(InputDevice, TextComposition) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.