CornerStyle.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. using System;
  2. namespace Microsoft.Windows.Forms
  3. {
  4. /// <summary>
  5. /// 边角弯曲样式。
  6. /// </summary>
  7. [Flags]
  8. public enum CornerStyle : int
  9. {
  10. /// <summary>
  11. /// 默认样式
  12. /// </summary>
  13. None = 0x0000,
  14. /// <summary>
  15. /// 左上角,左下角往内部弯曲
  16. /// </summary>
  17. LeftIn = 0x0001,
  18. /// <summary>
  19. /// 左上角,右上角往内部弯曲
  20. /// </summary>
  21. TopIn = 0x0002,
  22. /// <summary>
  23. /// 右上角,右下角往内部弯曲
  24. /// </summary>
  25. RightIn = 0x0004,
  26. /// <summary>
  27. /// 左下角,右下角往内部弯曲
  28. /// </summary>
  29. BottomIn = 0x0008,
  30. /// <summary>
  31. /// 左上角,左下角往外部弯曲
  32. /// </summary>
  33. LeftOut = 0x0010,
  34. /// <summary>
  35. /// 左上角,右上角往外部弯曲
  36. /// </summary>
  37. TopOut = 0x0020,
  38. /// <summary>
  39. /// 右上角,右下角往外部弯曲
  40. /// </summary>
  41. RightOut = 0x0040,
  42. /// <summary>
  43. /// 左下角,右下角往外部弯曲
  44. /// </summary>
  45. BottomOut = 0x0080,
  46. /// <summary>
  47. /// 水平(LeftIn|RightIn|LeftOut|RightOut)
  48. /// </summary>
  49. Horizontal = 0x0055,
  50. /// <summary>
  51. /// 垂直(TopIn|BottomIn|TopOut|BottomOut)
  52. /// </summary>
  53. Vertical = 0x00AA,
  54. }
  55. }