ExtendClientAreaChromeHints.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. using System;
  2. namespace Avalonia.Platform
  3. {
  4. /// <summary>
  5. /// Hint for Window Chrome when ClientArea is Extended.
  6. /// </summary>
  7. [Flags]
  8. public enum ExtendClientAreaChromeHints
  9. {
  10. /// <summary>
  11. /// The will be no chrome at all.
  12. /// </summary>
  13. NoChrome,
  14. /// <summary>
  15. /// The default for the platform.
  16. /// </summary>
  17. Default = PreferSystemChrome,
  18. /// <summary>
  19. /// Use SystemChrome
  20. /// </summary>
  21. SystemChrome = 0x01,
  22. /// <summary>
  23. /// Use system chrome where possible. OSX system chrome is used, Windows managed chrome is used.
  24. /// This is because Windows Chrome can not be shown ontop of user content.
  25. /// </summary>
  26. PreferSystemChrome = 0x02,
  27. /// <summary>
  28. /// On OSX the titlebar is the thicker toolbar kind. Causes traffic lights to be positioned
  29. /// slightly lower than normal.
  30. /// </summary>
  31. OSXThickTitleBar = 0x08,
  32. }
  33. }