標籤:bool efault datetime bsp res for ati tee mat
this.dateEdit1.Properties.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm";
this.dateEdit1.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
this.dateEdit1.Properties.EditFormat.FormatString = "yyyy-MM-dd HH:mm";
this.dateEdit1.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
this.dateEdit1.Properties.Mask.EditMask = "yyyy-MM-dd HH:mm";
this.dateEdit1.Properties.VistaDisplayMode = DevExpress.Utils.DefaultBoolean.True;
this.dateEdit1.Properties.VistaEditTime = DevExpress.Utils.DefaultBoolean.True;
this.dateEdit1.Properties.VistaTimeProperties.DisplayFormat.FormatString = "HH:mm";
this.dateEdit1.Properties.VistaTimeProperties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
this.dateEdit1.Properties.VistaTimeProperties.EditFormat.FormatString = "HH:mm";
this.dateEdit1.Properties.VistaTimeProperties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
this.dateEdit1.Properties.VistaTimeProperties.Mask.EditMask = "HH:mm";
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
this.dateEdit2.Properties.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm";
this.dateEdit2.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
this.dateEdit2.Properties.EditFormat.FormatString = "yyyy-MM-dd HH:mm";
this.dateEdit2.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
this.dateEdit2.Properties.Mask.EditMask = "yyyy-MM-dd HH:mm";
this.dateEdit2.Properties.VistaDisplayMode = DevExpress.Utils.DefaultBoolean.True;
this.dateEdit2.Properties.VistaEditTime = DevExpress.Utils.DefaultBoolean.True;
C# 控制項 DevExpress的DateEdit設定顯示日期和時間