怎么让datetimepicker只能选择月份和年份

2025-04-01 20:35:23
推荐回答(1个)
回答1:

在属性栏中分别设置Format属性 和CustoMForat属性
1、年Format: custom CustoMForat: yyyy年
2、月 Format: custom CustoMForat: MM月
3、年月:Format: custom CustoMForat: yyyy年MM月
以此类推