public static bool DdcOpen(this IKeyEventArgs e, IDDControl ddc) => !e.ShiftOrCtrl() && e.Up() && !ddc.DroppedDown && (e.Enter() && e.KeyCode == Key.Tab || e.Alt && e.KeyCode == Key.Down);
public static bool DdcClose(this IKeyEventArgs e, IDDControl ddc) => !e.ShiftOrCtrl() && e.Up() && ddc.DroppedDown && (!e.Alt && e.KeyCode == Key.Escape || e.Alt && e.KeyCode == Key.Up || e.KeyCode == Key.Tab);
public static bool IsClicked(this IKeyEventArgs e) => !e.AltOrCtrlOrShift() && e.Up() && (e.KeyCode == Key.Return || e.KeyCode == Key.Enter);
public static bool OpenContextMenu(this IKeyEventArgs e) => !e.AltOrCtrl() && e.Up() && ((e.IsShift() && e.KeyCode == Key.F10) || (!e.IsShift() && e.KeyCode == Key.Menu));
public static bool MoveFocus(this IKeyEventArgs e) => !e.AltOrCtrl() && e.Up() && e.KeyCode == Key.Tab;