Show / Hide Table of Contents

Class TextCompositionEventArgs

Provides data for the TextInput routed event.

Inheritance
System.Object
System.EventArgs
RoutedEventArgs
TextCompositionEventArgs
Inherited Members
RoutedEventArgs.OriginalSource
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Input
Assembly: OpenSilver.dll
Syntax
public sealed class TextCompositionEventArgs : RoutedEventArgs

Properties

| Improve this Doc View Source

Handled

Gets or sets a value that marks the routed event as handled, and prevents most handlers along the event route from handling the same event again.

Declaration
public bool Handled { get; set; }
Property Value
Type Description
System.Boolean

true to mark the routed event handled. false to leave the routed event unhandled, which permits the event to potentially route further and be acted on by other handlers. The default is false.

| Improve this Doc View Source

Text

Gets or sets the text string that of the text composition.

Declaration
public string Text { get; }
Property Value
Type Description
System.String

The text string of the text composition.

| Improve this Doc View Source

TextComposition

Gets or sets the text in the composition as a TextComposition object.

Declaration
public TextComposition TextComposition { get; }
Property Value
Type Description
TextComposition

The text in the composition, as a TextComposition object.

  • Improve this Doc
  • View Source