Syntax
Visual Basic (Declaration) | |
---|
Public Event PreviewTextInput As System.Windows.Input.TextCompositionEventHandler |
C# | |
---|
public event System.Windows.Input.TextCompositionEventHandler PreviewTextInput |
Event Data
The event handler receives an argument of type System.Windows.Input.TextCompositionEventArgs containing data related to this event. The following TextCompositionEventArgs properties provide information specific to this event.
Property | Description |
---|
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. |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
Text | Gets or sets the text string that of the text composition. |
TextComposition | Gets or sets the text in the composition as a System.Windows.Input.TextComposition object. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also