1
我有一個日期時間編輯蒙一個DevExpress.XtraEditors.SpinEdit:DevExpress的SpinEdit儘快清除,以作爲控制失去焦點
baseSpinEdit1.Properties.Mask.MaskType = MaskType.DateTime;
baseSpinEdit1.Properties.Mask.EditMask = "t";
baseSpinEdit1.Properties.EditFormat.FormatType = FormatType.DateTime;
baseSpinEdit1.Properties.EditFormat.FormatString = "t";
baseSpinEdit1.Properties.DisplayFormat.FormatType = FormatType.DateTime;
baseSpinEdit1.Properties.DisplayFormat.FormatString = "t";
baseSpinEdit1.Properties.Mask.UseMaskAsDisplayFormat = true
可正常工作,而控制具有焦點,但只要另一控制獲得焦點它被清除。有任何想法嗎?
你有沒有試圖用EditMask =「t」來使用TimeEdit? – Reniuz 2012-01-10 13:54:34