简体   繁体   中英

How to change dateTimePicker calendar size? in WinForm

How do i change the size of the calendar? If i change the font size of the dateTime picker it incresses in size, but when i do it with the calendar font it does not change the size of the calendar or the font.

What is the proper way to do it?

DateTimePicker dtp = new DateTimePicker();
dtp.Font = new Font("Arial", 20, FontStyle.Regular);

That way You will change the size of field where the date is shown, but not the size of rectangle of the popup Calendar. So... it is not possible!

在“控制面板 > 显示”上更改 Windows 文本大小

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM