终端一体化运控平台
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

ControlEnum.cs 4.9 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace BPASmartClient.CustomResource.UserControls
  7. {
  8. #region EnumDatePickerType
  9. public enum EnumDatePickerType
  10. {
  11. /// <summary>
  12. /// 单个日期
  13. /// </summary>
  14. SingleDate,
  15. /// <summary>
  16. /// 连续的多个日期
  17. /// </summary>
  18. SingleDateRange,
  19. /// <summary>
  20. /// 只显示年份
  21. /// </summary>
  22. Year,
  23. /// <summary>
  24. /// 只显示月份
  25. /// </summary>
  26. Month,
  27. /// <summary>
  28. /// 显示一个日期和时间
  29. /// </summary>
  30. DateTime,
  31. /// <summary>
  32. /// 显示连续的日期和时间
  33. /// </summary>
  34. DateTimeRange,
  35. }
  36. #endregion
  37. #region FlatButtonSkinEnum
  38. /// <summary>
  39. /// Button类型
  40. /// </summary>
  41. public enum FlatButtonSkinEnum
  42. {
  43. Yes,
  44. No,
  45. Default,
  46. primary,
  47. ghost,
  48. dashed,
  49. text,
  50. info,
  51. success,
  52. error,
  53. warning,
  54. }
  55. #endregion
  56. #region EnumPromptType
  57. /// <summary>
  58. /// 提示类型
  59. /// </summary>
  60. public enum EnumPromptType
  61. {
  62. /// <summary>
  63. /// 消息
  64. /// </summary>
  65. Info,
  66. /// <summary>
  67. /// 警告
  68. /// </summary>
  69. Warn,
  70. /// <summary>
  71. /// 失败
  72. /// </summary>
  73. Error,
  74. /// <summary>
  75. /// 成功
  76. /// </summary>
  77. Success,
  78. }
  79. #endregion
  80. /// <summary>
  81. /// 加载类型
  82. /// </summary>
  83. #region EnumLoadingType
  84. public enum EnumLoadingType
  85. {
  86. /// <summary>
  87. /// 两个圆
  88. /// </summary>
  89. DoubleRound,
  90. /// <summary>
  91. /// 一个圆
  92. /// </summary>
  93. SingleRound,
  94. /// <summary>
  95. /// 仿Win10加载条
  96. /// </summary>
  97. Win10,
  98. /// <summary>
  99. /// 仿Android加载条
  100. /// </summary>
  101. Android,
  102. /// <summary>
  103. /// 仿苹果加载条
  104. /// </summary>
  105. Apple,
  106. Cogs,
  107. Normal,
  108. /// <summary>
  109. /// 线条动画
  110. /// </summary>
  111. Lines,
  112. /// <summary>
  113. /// 方格动画
  114. /// </summary>
  115. Grids,
  116. /// <summary>
  117. /// 中心旋转动画
  118. /// </summary>
  119. Rotate,
  120. /// <summary>
  121. /// 版块加载
  122. /// </summary>
  123. Block,
  124. /// <summary>
  125. /// 自定义图标动画
  126. /// </summary>
  127. PathAnimation
  128. }
  129. #endregion
  130. /// <summary>
  131. /// 方向
  132. /// </summary>
  133. #region EnumPlacement
  134. public enum EnumPlacement
  135. {
  136. /// <summary>
  137. /// 左上
  138. /// </summary>
  139. LeftTop,
  140. /// <summary>
  141. /// 左中
  142. /// </summary>
  143. LeftCenter,
  144. /// <summary>
  145. /// 左下
  146. /// </summary>
  147. LeftBottom,
  148. /// <summary>
  149. /// 右上
  150. /// </summary>
  151. RightTop,
  152. /// <summary>
  153. /// 右中
  154. /// </summary>
  155. RightCenter,
  156. /// <summary>
  157. /// 右下
  158. /// </summary>
  159. RightBottom,
  160. /// <summary>
  161. /// 上左
  162. /// </summary>
  163. TopLeft,
  164. /// <summary>
  165. /// 上中
  166. /// </summary>
  167. TopCenter,
  168. /// <summary>
  169. /// 上右
  170. /// </summary>
  171. TopRight,
  172. /// <summary>
  173. /// 下左
  174. /// </summary>
  175. BottomLeft,
  176. /// <summary>
  177. /// 下中
  178. /// </summary>
  179. BottomCenter,
  180. /// <summary>
  181. /// 下右
  182. /// </summary>
  183. BottomRight,
  184. }
  185. #endregion
  186. /// <summary>
  187. /// 动画容器类型
  188. /// </summary>
  189. public enum TransitionMode
  190. {
  191. Right2Left,
  192. Left2Right,
  193. Bottom2Top,
  194. Top2Bottom,
  195. Right2LeftWithFade,
  196. Left2RightWithFade,
  197. Bottom2TopWithFade,
  198. Top2BottomWithFade,
  199. Fade,
  200. Custom
  201. }
  202. /// <summary>
  203. /// 联系人类型
  204. /// </summary>
  205. public enum ContactType
  206. {
  207. SerialNumber,
  208. Single,
  209. Group,
  210. AddUser,
  211. CutUser
  212. }
  213. /// <summary>
  214. /// 进度条类型
  215. /// </summary>
  216. public enum ProgressBarType
  217. {
  218. Line,
  219. Round
  220. }
  221. /// <summary>
  222. /// XAML显示类型
  223. /// </summary>
  224. public enum Scope
  225. {
  226. None,
  227. This,
  228. ThisAndChildren
  229. }
  230. /// <summary>
  231. /// 加减数字控件
  232. /// </summary>
  233. public enum EnumCompare
  234. {
  235. /// <summary>
  236. /// 小于
  237. /// </summary>
  238. Less,
  239. /// <summary>
  240. /// 等于
  241. /// </summary>
  242. Equal,
  243. /// <summary>
  244. /// 大于
  245. /// </summary>
  246. Large,
  247. None,
  248. }
  249. }