How to remove calendar icon in the DateTimePicker

  • Thread starter Thread starter Jeff0803
  • Start date Start date
J

Jeff0803

Guest
I want to have user choose hour only from DateTimePicker control.

I set the properties like following.

this.dateTimePicker1.Format = DateTimePickerFormat.Custom;
this.dateTimePicker1.CustomFormat = "hh tt";

And then the result is like following.

1579867.png

I want to remove the calendar icon.

How to do this?

Continue reading...
 
Back
Top