namespace WalkingTec.Mvvm.Core.ConfigOptions { public class UIOptions { public DataTableOptions DataTable { get; set; } public ComboBoxOptions ComboBox { get; set; } public DateTimeOptions DateTime { get; set; } public SearchPanelOptions SearchPanel { get; set; } public class DataTableOptions { /// /// 默认列表行数 /// public int RPP { get; set; } public bool ShowPrint { get; set; } public bool ShowFilter { get; set; } } public class ComboBoxOptions { /// /// 默认允许ComboBox搜索 /// public bool DefaultEnableSearch { get; set; } } public class DateTimeOptions { /// /// 默认开启DateTime只读 /// public bool DefaultReadonly { get; set; } } public class SearchPanelOptions { /// /// 默认展开SearchPanel内容 /// public bool DefaultExpand { get; set; } } } }