| Visual Basic (Declaration) | |
|---|---|
Public Shadows Event KeyUp As KeyEventHandler | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As UXPopup Dim handler As KeyEventHandler AddHandler instance.KeyUp, handler | |
| C# | |
|---|---|
public new event KeyEventHandler KeyUp | |
| Delphi | |
|---|---|
public event KeyUp: KeyEventHandler; | |
| JScript | |
|---|---|
In JScript, you can handle the events defined by another class, but you cannot define your own. | |
| Managed Extensions for C++ | |
|---|---|
public: new __event KeyEventHandler* KeyUp | |
| C++/CLI | |
|---|---|
public: new event KeyEventHandler^ KeyUp | |
The event handler receives an argument of type KeyEventArgs containing data related to this event. The following KeyEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| BaseKeyEventArgs | Gets the original KeyEventArgs that passed from the Silverlight routed event. |
| Handled (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. |
| HandledBy (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| IsHandledByPrimitive (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| Key | Gets the keyboard key associated with the event. |
| OriginalSource (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| PlatformKeyCode | Gets the platform-independent key code associated with the event. |
| RoutedEvent (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| Source (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | Gets or sets a reference to the object that raised the event. |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family