TextField.KeyDown Event

This event is fired when key is pressed down.

KeyDown(
   sender as Object,
   e as KeyEventArgs) as void

Parameters

sender
The sender which is always the TextField.
e
Event arguments. Pass true to Handled property of this class to stop the key down.

Returns

void

Remarks

To stop the event from reaching the control then set handled = true in the KeyEventArgs object.

See Also

TextField Control