ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / C1DataGrid Class / KeyDown Event

In This Topic
    KeyDown Event
    In This Topic
    Occurs when a keyboard key is pressed while the System.Windows.UIElement has focus.
    Syntax
    'Declaration
     
    
    Public Event KeyDown As KeyEventHandler
    public event KeyEventHandler KeyDown
    Event Data

    The event handler receives an argument of type 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)
    See Also