SpreadsheetGear 2012
PreviewTextInput Event (SheetPresenter)






Syntax
'Declaration
 
Public Event PreviewTextInput As System.Windows.Input.TextCompositionEventHandler
'Usage
 
Dim instance As SheetPresenter
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
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.

PropertyDescription
ControlTextGets 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)
SystemTextGets system text associated with a System.Windows.Input.TextComposition event.  
TextGets input text associated with a System.Windows.Input.TextComposition event.  
TextCompositionGets the System.Windows.Input.TextComposition associated with a System.Windows.Input.TextComposition event.  
Timestamp (Inherited from System.Windows.Input.InputEventArgs)
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

Reference

SheetPresenter Class
SheetPresenter Members

Send Feedback