KeyPressEventArgs Properties

The KeyPressEventArgs type exposes the following members.

  Name Description
Public property Handled Gets or sets a value indicating whether the KeyPress event was handled.
Public property KeyChar Gets or sets the character corresponding to the key pressed.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft