Intersoft ClientUI Documentation
AddKeyDownHandler Method



Adds a handler for the Keyboard.KeyDown attached event.
Syntax
Public Shared Sub AddKeyDownHandler( _
   ByVal element As DependencyObject, _
   ByVal handler As KeyEventHandler _
) 
Dim element As DependencyObject
Dim handler As KeyEventHandler
 
Keyboard.AddKeyDownHandler(element, handler)
public static void AddKeyDownHandler( 
   DependencyObject element,
   KeyEventHandler handler
)
public:
static void AddKeyDownHandler( 
   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