TextCompositionEventHandler Delegate

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Represents the method that will handle the TextInput routed event.

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


Public Delegate Sub TextCompositionEventHandler ( _
    sender As Object, _
    e As TextCompositionEventArgs _
public delegate void TextCompositionEventHandler(
    Object sender,
    TextCompositionEventArgs e


  • sender
    Type: System.Object
    The object where the event handler is attached.


TextInput is a routed event, which means that it can invoke handlers on objects other than the object that raised the event. For details on the routed event concept, see Events Overview for Silverlight.

Version Information


Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1


For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also