Visual Basic (Declaration) | |
---|---|
Public Event PreviewTextInput As TextCompositionEventHandler |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As K2ContextMenu Dim handler As TextCompositionEventHandler AddHandler instance.PreviewTextInput, handler |
C# | |
---|---|
public event TextCompositionEventHandler PreviewTextInput |
C++/CLI | |
---|---|
public: event TextCompositionEventHandler^ PreviewTextInput |
The event handler receives an argument of type TextCompositionEventArgs containing data related to this event. The following TextCompositionEventArgs properties provide information specific to this event.
Property | Description |
---|---|
ControlText | Gets control text associated with a System.Windows.Input.TextComposition event. |
Device (Inherited from System.Windows.Input.InputEventArgs) | |
Handled (Inherited from System.Windows.RoutedEventArgs) | |
OriginalSource (Inherited from System.Windows.RoutedEventArgs) | |
RoutedEvent (Inherited from System.Windows.RoutedEventArgs) | |
Source (Inherited from System.Windows.RoutedEventArgs) | |
SystemText | Gets system text associated with a System.Windows.Input.TextComposition event. |
Text | Gets input text associated with a System.Windows.Input.TextComposition event. |
TextComposition | Gets the System.Windows.Input.TextComposition associated with a System.Windows.Input.TextComposition event. |
Timestamp (Inherited from System.Windows.Input.InputEventArgs) |
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