SpreadsheetGear.Windows.Controls Namespace > DropDownButton Class : PreviewTextInput Event |
'Declaration
Public Event PreviewTextInput As System.Windows.Input.TextCompositionEventHandler
'Usage
Dim instance As DropDownButton Dim handler As System.Windows.Input.TextCompositionEventHandler AddHandler instance.PreviewTextInput, handler
public event System.Windows.Input.TextCompositionEventHandler PreviewTextInput
public event PreviewTextInput: System.Windows.Input.TextCompositionEventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event System.Windows.Input.TextCompositionEventHandler* PreviewTextInput
public: event System.Windows.Input.TextCompositionEventHandler^ PreviewTextInput
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 |
---|---|
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