Enums.cs 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /*******************************************************************************
  2. * Copyright(c) 2014 DongkeSoft All rights reserved. / Confidential
  3. * 类的信息:
  4. * 1.程序名称:DockAreas.cs
  5. * 2.功能描述:枚举类文件
  6. * 编辑履历:
  7. * 作者 日期 版本 修改内容
  8. * 陈晓野 2014/09/01 1.00 新建
  9. *******************************************************************************/
  10. using System;
  11. using System.ComponentModel;
  12. namespace Dongke.IBOSS.PRD.Basics.DockPanel
  13. {
  14. [Flags]
  15. [Serializable]
  16. [Editor(typeof(DockAreasEditor), typeof(System.Drawing.Design.UITypeEditor))]
  17. public enum DockAreas
  18. {
  19. Float = 1,
  20. DockLeft = 2,
  21. DockRight = 4,
  22. DockTop = 8,
  23. DockBottom = 16,
  24. Document = 32
  25. }
  26. public enum DockState
  27. {
  28. Unknown = 0,
  29. Float = 1,
  30. DockTopAutoHide = 2,
  31. DockLeftAutoHide = 3,
  32. DockBottomAutoHide = 4,
  33. DockRightAutoHide = 5,
  34. Document = 6,
  35. DockTop = 7,
  36. DockLeft = 8,
  37. DockBottom = 9,
  38. DockRight = 10,
  39. Hidden = 11
  40. }
  41. public enum DockAlignment
  42. {
  43. Left,
  44. Right,
  45. Top,
  46. Bottom
  47. }
  48. public enum DocumentStyle
  49. {
  50. DockingMdi,
  51. DockingWindow,
  52. DockingSdi,
  53. SystemMdi,
  54. }
  55. /// <summary>
  56. /// The location to draw the DockPaneStrip for Document style windows.
  57. /// </summary>
  58. public enum DocumentTabStripLocation
  59. {
  60. Top,
  61. Bottom
  62. }
  63. }