CefKeyEventType.cs 957 B

12345678910111213141516171819202122232425262728293031323334
  1. namespace Xilium.CefGlue
  2. {
  3. using System;
  4. /// <summary>
  5. /// Key event types.
  6. /// </summary>
  7. public enum CefKeyEventType : int
  8. {
  9. /// <summary>
  10. /// Notification that a key transitioned from "up" to "down".
  11. /// </summary>
  12. RawKeyDown = 0,
  13. /// <summary>
  14. /// Notification that a key was pressed. This does not necessarily correspond
  15. /// to a character depending on the key and language. Use KEYEVENT_CHAR for
  16. /// character input.
  17. /// </summary>
  18. KeyDown,
  19. /// <summary>
  20. /// Notification that a key was released.
  21. /// </summary>
  22. KeyUp,
  23. /// <summary>
  24. /// Notification that a character was typed. Use this for text input. Key
  25. /// down events may generate 0, 1, or more than one character event depending
  26. /// on the key, locale, and operating system.
  27. /// </summary>
  28. Char,
  29. }
  30. }