SpreadsheetGear 2017
KeyDown Event (SheetTab)






SpreadsheetGear.Windows.Controls Namespace > SheetTab Class : KeyDown Event
Syntax
'Declaration
 
Public Event KeyDown As System.Windows.Input.KeyEventHandler
'Usage
 
Dim instance As SheetTab
Dim handler As System.Windows.Input.KeyEventHandler
 
AddHandler instance.KeyDown, handler
public event System.Windows.Input.KeyEventHandler KeyDown
public event KeyDown: System.Windows.Input.KeyEventHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event System.Windows.Input.KeyEventHandler* KeyDown
public:
event System.Windows.Input.KeyEventHandler^ KeyDown
Event Data

The event handler receives an argument of type System.Windows.Input.KeyEventArgs containing data related to this event. The following KeyEventArgs properties provide information specific to this event.

PropertyDescription
Gets the key that is part of dead key composition to create a single combined character.  
(Inherited from System.Windows.Input.InputEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
Gets the keyboard key referenced by the event, if the key will be processed by an Input Method Editor (IME).  
Gets the input source that provided this input.  
Gets a value that indicates whether the key referenced by the event is in the down state.  
Gets a value that indicates whether the keyboard key referenced by the event is a repeated key.  
Gets a value that indicates whether the key referenced by the event is in the toggled state.  
Gets a value that indicates whether the key referenced by the event is in the up state.  
Gets the keyboard key associated with the event.  
(Inherited from System.Windows.Input.KeyboardEventArgs)
Gets the state of the keyboard key associated with this event.  
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
Gets the keyboard key referenced by the event, if the key will be processed by the system.  
(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