SDG Toolkit

SdgUserControl.SdgKeyPress Event

Event fired whenever this widget has mouse focus and the a keyboard mapped to that mouse is pressed

public event SdgKeyPressEventHandler SdgKeyPress;

Event Data

The event handler receives an argument of type SdgKeyPressEventArgs containing data related to this event. The following SdgKeyPressEventArgs properties provide information specific to this event.

Property Description
Handled Gets a boolean value describing if this event has been handled by another component
ID Gets the ID of the keyboard which raised this event
KeyChar Gets the ASCII equivalent of the character just pressed

See Also

SdgUserControl Class | Sdgt Namespace