c# 4.0 - Is it possible to restrict the WinForms DateTime Picker dropdown to only choose the month and year? -
i want use winforms datetime picker force user input mm/yyyy format when entering expiration dates credit cards.
in datetimepicker i've found customformat option , set mm/yyyy , format option , set custom, works enough in month , year getting displayed. need know how either hide , disable drop-down arrow, or make when user clicks can select month , year (not day).
is possible in winforms? happy disable dropdown calendar if that's possible , if it's option
change property of datetime picker's "format" custom, change customformat mm/yyyy
edit: set showupdown property true
Comments
Post a Comment