.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)
Syntax

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.
Platforms

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

See Also

Reference

Tags :


Page view tracker