123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- #region 对外枚举
- namespace Bowin.Web.Controls.Mvc
- {
- public enum EditerLoadModelEnum
- {
- /// <summary>
- /// 数据读取成功后激活当前页内所有行的编辑器(速度较慢)
- /// </summary>
- //Init,
- /// <summary>
- /// 双击行后激活对应行的编辑器
- /// </summary>
- DoubleClickRow
- }
- /// <summary>
- /// 编辑器模式
- /// </summary>
- public enum EditerModelEnum
- {
- /// <summary>
- /// 禁用
- /// </summary>
- Disabled = 0,
- /// <summary>
- /// 启用
- /// </summary>
- Enabled = 1,
- /// <summary>
- /// 即时响应
- /// </summary>
- Forthwith = 2
- }
- /// <summary>
- /// 鼠标事件
- /// </summary>
- public enum MouseEventEnum
- {
- /// <summary>
- /// 鼠标单击
- /// </summary>
- OnClick,
- /// <summary>
- /// 鼠标移入
- /// </summary>
- OnMouseOver,
- /// <summary>
- /// 鼠标离开
- /// </summary>
- OnMouseOut
- }
- /// <summary>
- /// 跳转方式
- /// </summary>
- public enum TargetTypeEnum
- {
- /// <summary>
- /// 不跳转,触发Ajax事件
- /// </summary>
- Ajax,
- /// <summary>
- /// 开新窗
- /// </summary>
- Blank,
- /// <summary>
- /// 当前页
- /// </summary>
- Self,
- /// <summary>
- /// 父框架
- /// </summary>
- Parent,
- /// <summary>
- /// 最顶层框架
- /// </summary>
- Top
- }
-
- /// <summary>
- /// 对齐方式
- /// </summary>
- public enum AlignStyle
- {
- Left,
- Right,
- Center
- }
- /// <summary>
- /// 按钮图标
- /// </summary>
- public enum ButtonIcon
- {
- Add,
- Edit,
- Delete,
- Print,
- App,
- Search,
- Save
- }
- /// <summary>
- /// DataGird数据列格式化
- /// </summary>
- public enum Formatter
- {
- /// <summary>
- /// 正常,不格式化
- /// </summary>
- None,
- /// <summary>
- /// 格式化为"完整日期"
- /// yyyy-MM-dd HH:mm:ss:fff
- /// </summary>
- FullDate,
- /// <summary>
- /// 格式化为"短日期"
- /// hh:mm:ss
- /// </summary>
- ShortDate,
- /// <summary>
- /// 格式化为"长日期"
- /// yyyy-MM-dd HH:mm:ss
- /// </summary>
- LongDate,
- /// <summary>
- /// 格式化为"年月"
- /// </summary>
- OnlyYearMonth,
- /// <summary>
- /// 格式化为"年月日"
- /// yyyy-MM-dd
- /// </summary>
- OnlyYearMonthDay,
- /// <summary>
- /// 格式化为"中文 短日期"
- /// hh时mm分ss秒
- /// </summary>
- CHSShortDate,
- /// <summary>
- /// 格式化为"中文 长日期"
- /// yyyy年MM月dd日 HH时mm分ss秒
- /// </summary>
- CHSLongDate,
- /// <summary>
- /// 格式化为"中文 长日期"
- /// yyyy年MM月dd日 HH时mm分ss秒
- /// </summary>
- CHSLongDateNoSecond,
- /// <summary>
- /// 格式化为"中文 年月日"
- /// yyyy年MM月dd日
- /// </summary>
- CHSOnlyYearMonthDay,
- CodeConvertName
- }
- /// <summary>
- /// 自动附加数据
- /// </summary>
- public enum IncludedData
- {
- /// <summary>
- /// Table控件中当前被选中行的数据
- /// </summary>
- Table_CurrentRow,
- /// <summary>
- /// Table控件中所有选中行的数据
- /// </summary>
- Table_Selections,
- /// <summary>
- /// 无
- /// </summary>
- None
- }
- /// <summary>
- /// 操作类型
- /// </summary>
- public enum Operation
- {
- /// <summary>
- /// 增加
- /// </summary>
- Add,
- /// <summary>
- /// 删除
- /// </summary>
- Delete,
- /// <summary>
- /// 更新
- /// </summary>
- Update,
- /// <summary>
- /// 自定义
- /// </summary>
- Custom
- }
- /// <summary>
- /// TextBox控件类型
- /// </summary>
- public enum TextBoxType
- {
- /// <summary>
- /// 普通文本输入框
- /// </summary>
- Normal,
- /// <summary>
- /// 密码输入框
- /// </summary>
- Password,
- /// <summary>
- /// 日期时间输入框
- /// </summary>
- DateTime,
- /// <summary>
- /// 日期输入框(不含时钟)
- /// </summary>
- Date,
- /// <summary>
- /// 时分秒输入,不包含日期
- /// </summary>
- Time,
- /// <summary>
- /// 日期输入框(不含几号)年-月
- /// </summary>
- Month,
- yyyyMMdd,
- }
- /// <summary>
- /// 时钟跳动方式
- /// </summary>
- public enum TimeJumpType
- {
- 顺序,
- 倒序
- }
- }
- #endregion
- #region 对内枚举
- namespace Bowin.Web.Controls.Mvc.Helper
- {
- /// <summary>
- /// 格式化类型
- /// </summary>
- public enum FormatterType
- {
- /// <summary>
- /// 不格式化||未知类型
- /// </summary>
- None,
- /// <summary>
- /// 时间类型
- /// </summary>
- DateTime
- }
- /// <summary>
- /// 控件类型
- /// </summary>
- public enum Control
- {
- Button,
- LinkButton,
- DropdownList,
- DataGrid,
- PostionBar,
- SystemClock,
- TextBox,
- Toolbar,
- ToolbarButton,
- DateBox
- }
- }
- #endregion
|