I have a stock winform datetimepicker that looks something like this...
I would like to make it look something like this...
The WinForm
TextBox
has a borderless option and I manually created a horizontal rule to give the illusion of a seamless underlined TextBox
but the DateTimePicker
doesn't seem to have a borderless option.
Is there something I can do to either make the DateTimePicker
look like the example above or at least remove the borders so I can manually place the underline?
The answer with the least amount of code would be to place a panel, place the control in the panel and then "clip" the border of the dateTimePicker (DTP) by reducing the size of the panel.