TextCompositionEventArgs Constructor (InputDevice^, TextComposition^)

 

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: