public static bool KeyUp(Control control, NSEvent theEvent) { if (control != null) { var kpea = theEvent.ToEtoKeyPressEventArgs(); control.OnKeyUp(kpea); return kpea.Handled; } return false; }
/// <summary> /// Raises the key up event. /// </summary> public void OnKeyUp(Control widget, KeyEventArgs e) { widget.Platform.Invoke(() => widget.OnKeyUp(e)); }