Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
Silverlight 3
 KeyEventHandler Delegate

  Switch on low bandwidth view
This page is specific to
Microsoft Silverlight 3

Other versions are also available for the following:
.NET Framework Class Library for Silverlight
KeyEventHandler Delegate

Represents the method that handles the UIElement..::.KeyUp and UIElement..::.KeyDown events.

Namespace:  System.Windows.Input
Assembly:  System.Windows (in System.Windows.dll)
Visual Basic (Declaration)
Public Delegate Sub KeyEventHandler ( _
    sender As Object, _
    e As KeyEventArgs _
)
Visual Basic (Usage)
Dim instance As New KeyEventHandler(AddressOf HandlerMethod)
C#
public delegate void KeyEventHandler(
    Object sender,
    KeyEventArgs e
)

Parameters

sender
Type: System..::.Object
The object where the event handler is attached.
e
Type: System.Windows.Input..::.KeyEventArgs
The event data.

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker