DevExpress
hello_smu
这个作者很懒,什么都没留下…
展开
-
DevExpress中DateEdit控件显示日期和时间
1、设置Properties.VistaDisplayMode和Properties.VistaEditTime为True;2、设置Properties.DisplayFormat.FormatString、Properties.EditFormat.FormatString、Properties.Mask.EditMask为yyyy-MM-dd HH:mm;3、Properties.Di原创 2016-09-22 17:02:56 · 6948 阅读 · 1 评论 -
DevExpress.XtraGrid自定义列显示文本
例如从数据库中取出字段的值为code形式,但要显示的却是code的含义,这就需要使用DevExpress.XtraGrid的CustomColumnDisplayText方法自定义显示的文本。后台代码如下: private void grvCP_CustomColumnDisplayText(object sender, DevExpress.XtraGrid.Views.原创 2017-02-26 22:58:48 · 2872 阅读 · 0 评论 -
DevExpress.XtraGrid常用设置
Q:DevExpress.XtraGrid中去掉表头的"Drag a column header here to group by that column"A:属性—OptionsView—ShowGroupPanel,设置为FalseQ:DevExpress.XtraGrid表头显示过滤框A:属性—OptionsView—ShowAutoFilterRow=true原创 2016-11-24 21:18:09 · 1191 阅读 · 0 评论