如何更改.net中日期时间选择器的弹出窗口的大小? [英] How can I change the size of popup of datetime picker in .net?

查看:163
本文介绍了如何更改.net中日期时间选择器的弹出窗口的大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要增加日期时间选择器的弹出窗口的大小以及字体的大小。
更改是在日期时间选择器的红色块上方完成的。

I want to increase the size of popup as well as the size of font of popup of datetime picker. The change is done in above red block portion of datetime picker.

推荐答案

您无法更改大小,它是在实现日历的本机Windows组件中精打细算。从MonthCalendar类(与DTP下拉列表相同的动物)中也很明显,请注意拖动大小调整手柄是怎么做的。

You cannot change the size, it is hard-baked in the native Windows component that implements the calendar. Also obvious from the MonthCalendar class (same animal as the DTP dropdown), note how dragging the sizing handles does nothing at all. And how changing the Font has no effect.

不灵活但不是真正的问题,在用户计算机上运行的任何其他程序都以完全相同的大小显示完全相同的日历。 。如果用户的视觉障碍使她无法使用日历,则可以更改系统字体大小或视频DPI设置。

Inflexible but not really a problem, any other program that runs on the user's machine displays the exact same calendar in the exact same size. If the user has a visual impairment that gives her trouble using the calendar then she'll change the system font size or video DPI setting.

这篇关于如何更改.net中日期时间选择器的弹出窗口的大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆