



























this.textEdit1.Properties.EditFormat.FormatString = "yyyy-MM-dd";
this.textEdit1.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
this.textEdit1.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
this.textEdit1.Properties.Mask.EditMask = "\\d{2}\\d{2}?-([0]?[1-9]|10|11|12)-(0?[1-9]|[12]\\d|30|31) (([01]?[0-9]|2[0-3])(:[0-" +"5]\\d)?)?";
//"\\d{2}\\d{2}?-([0]?[1-9]|10|11|12)-(0?[1-9]|[12]\\d|30|31)";
this.textEdit1.Properties.Mask.ShowPlaceHolders = false;
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。