DevExpress的DateEdit设置显示日期和时间

1. 设置Mask.EditMask和DisplayFormat,EditFormat属性。设置为一致:'yyyy-MM-dd HH:mm';  //依照想要的显示格式设置此字符串。 [csharp]  view plain  copy this.dateEdit1.Properties.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm";   this
相关文章
相关标签/搜索