In This Article

TextCompositionEventArgs Class

Provides arguments for a text composition event.

public class TextCompositionEventArgs : EventArgs
Inheritance:
object EventArgs object

Constructors

TextCompositionEventArgs(string)

Initializes a new instance of the TextCompositionEventArgs class.

public TextCompositionEventArgs(string text)
Parameter Type Description
text string

The input text.

Properties

Handled

Gets or sets whether the event has been handled.

public bool Handled { get; set; }

Property Value

bool:

true if the event has been handled; otherwise, false.

Text

Gets the input text.

public string Text { get; }

Property Value

string:

The input text.

Inherited Members