VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Wpf.UI.VisualTools Namespace / WpfVisualTool Class / KeyDown Event



In This Topic
    KeyDown Event (WpfVisualTool)
    In This Topic
    Occurs when a key is pressed while the image viewer has focus and this tool is enabled.
    Syntax
    'Declaration
     
    Public Shadows Event KeyDown As KeyEventHandler
    public new event KeyEventHandler KeyDown
    public: new __event KeyEventHandler* KeyDown
    public:
    new 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.  
    Gets the input device that initiated this event. (Inherited from System.Windows.Input.InputEventArgs)
    Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. (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.  
    Gets the keyboard device associated with the input event. (Inherited from System.Windows.Input.KeyboardEventArgs)
    Gets the state of the keyboard key associated with this event.  
    Gets the original reporting source as determined by pure hit testing, before any possible System.Windows.RoutedEventArgs.Source adjustment by a parent class. (Inherited from System.Windows.RoutedEventArgs)
    Gets or sets the System.Windows.RoutedEventArgs.RoutedEvent associated with this System.Windows.RoutedEventArgs instance. (Inherited from System.Windows.RoutedEventArgs)
    Gets or sets a reference to the object that raised the event. (Inherited from System.Windows.RoutedEventArgs)
    Gets the keyboard key referenced by the event, if the key will be processed by the system.  
    Gets the time when this event occurred. (Inherited from System.Windows.Input.InputEventArgs)
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also