Method ToKeyEventArgs
ToKeyEventArgs(AbstractControl?, UIPress, KeyStates)
Converts event arguments from UIKit.UIPress to KeyEventArgs.
public virtual KeyEventArgs? ToKeyEventArgs(AbstractControl? control, UIPress press, KeyStates keyStates)
Parameters
controlAbstractControlTarget control.
pressUIPressInformation about the pressed key.
keyStatesKeyStatesThe state of the key referenced by the event.