Spread WPF Documentation
PreviewKeyDown Event (InvalidDataPresenter)


Syntax
'Declaration
 
Public Event PreviewKeyDown As System.Windows.Input.KeyEventHandler
'Usage
 
Dim instance As InvalidDataPresenter
Dim handler As System.Windows.Input.KeyEventHandler
 
AddHandler instance.PreviewKeyDown, handler
public event System.Windows.Input.KeyEventHandler PreviewKeyDown
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
DeadCharProcessedKeyGets the key that is part of dead key composition to create a single combined character.  
Device (Inherited from System.Windows.Input.InputEventArgs)
Handled (Inherited from System.Windows.RoutedEventArgs)
ImeProcessedKeyGets the keyboard key referenced by the event, if the key will be processed by an Input Method Editor (IME).  
InputSourceGets the input source that provided this input.  
IsDownGets a value that indicates whether the key referenced by the event is in the down state.  
IsRepeatGets a value that indicates whether the keyboard key referenced by the event is a repeated key.  
IsToggledGets a value that indicates whether the key referenced by the event is in the toggled state.  
IsUpGets a value that indicates whether the key referenced by the event is in the up state.  
KeyGets the keyboard key associated with the event.  
KeyboardDevice (Inherited from System.Windows.Input.KeyboardEventArgs)
KeyStatesGets the state of the keyboard key associated with this event.  
OriginalSource (Inherited from System.Windows.RoutedEventArgs)
RoutedEvent (Inherited from System.Windows.RoutedEventArgs)
Source (Inherited from System.Windows.RoutedEventArgs)
SystemKeyGets the keyboard key referenced by the event, if the key will be processed by the system.  
Timestamp (Inherited from System.Windows.Input.InputEventArgs)
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

InvalidDataPresenter Class
InvalidDataPresenter Members

 

 


Copyright © GrapeCity, inc. All rights reserved.