TextCompositionEventArgs Constructor (InputDevice^, TextComposition^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public:
TextCompositionEventArgs(
	InputDevice^ inputDevice,
	TextComposition^ composition
)

Parameters

inputDevice
Type: System.Windows.Input::InputDevice^

The input device associated with this event.

composition
Type: System.Windows.Input::TextComposition^

A TextComposition object associated with this event.

Exception Condition
ArgumentNullException

Raised when composition is null.

.NET Framework
Available since 3.0
Return to top
Show: