DateEdit show timing

How can I show the timer in DevExpress.XtraEditors.DateEdit ? I want to dynamically select the time.

+4
source share
2 answers

to show TimePicker, you must set the VistaDisplayMode and VistaEditTime to true and remember to change EditFormat , DisplayFormat and EditMask to any DateTime format, for example: "dd.My hh:mm"

+8
source

Assuming dateEdit is the name of your control:

  dateEdit.Properties.VistaDisplayMode = DefaultBoolean.True; dateEdit.Properties.VistaEditTime = DefaultBoolean.True; 

DateEdit VistaDisplayMode and VistaEditTime

+10
source

Source: https://habr.com/ru/post/1432228/


All Articles