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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.