Spread WPF 18
GrapeCity.Wpf.SpreadSheet Namespace / GcSpreadSheet Class / PreviewKeyDown Event


In This Topic
    PreviewKeyDown Event (GcSpreadSheet)
    In This Topic
    Syntax
    'Declaration
     
    Public Event PreviewKeyDown As KeyEventHandler
    'Usage
     
    Dim instance As GcSpreadSheet
    Dim handler As KeyEventHandler
     
    AddHandler instance.PreviewKeyDown, handler
    public event KeyEventHandler PreviewKeyDown
    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