Intersoft ClientUI Documentation
AddPreviewKeyDownHandler Method



Adds a handler for the Keyboard.PreviewKeyDown attached event.
Syntax
Public Shared Sub AddPreviewKeyDownHandler( _
   ByVal element As DependencyObject, _
   ByVal handler As KeyEventHandler _
) 
Dim element As DependencyObject
Dim handler As KeyEventHandler
 
Keyboard.AddPreviewKeyDownHandler(element, handler)
public static void AddPreviewKeyDownHandler( 
   DependencyObject element,
   KeyEventHandler handler
)
public:
static void AddPreviewKeyDownHandler( 
   DependencyObject^ element,
   KeyEventHandler^ handler
) 

Parameters

element
handler
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

Reference

Keyboard Class
Keyboard Members

Send Feedback