在DateTimePicker上禁用下拉日历 [英] disable the dropdown calender on a DateTimePicker
本文介绍了在DateTimePicker上禁用下拉日历的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当Format = Time的属性时,是否可以在DateTimePicker上禁用下拉日历.
Is there a way to disable the dropdown calender on a DateTimePicker when the property of Format = Time.
推荐答案
是.
将格式属性设置为时间,并将ShowUpDown属性设置为True.
Yes.
Set the Format property to Time, and set the ShowUpDown property to True.
这篇关于在DateTimePicker上禁用下拉日历的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文