W3Schools Learner's Blog

W3Schools Programming knowledge summary website



DevExpress DateEdit format - How to set the dd/MM/yyyy mask

how can i set the display of my dateedit textbox to dd/MM/yyyy? you should  set the dd/MM/yyyy mask.

To format DevExpress DateEdit , set the required mask as follows:
  1. My_DateEdit.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.DateTime
    My_DateEdit.Properties.Mask.EditMask = "dd/MM/yyyy"
    My_DateEdit.Properties.Mask.UseMaskAsDisplayFormat = True

No comments:

Post a Comment

Note: only a member of this blog may post a comment.