控件 -> 属性 然后在 外观 的 Format 选择 Custom行为 的 CustomFormat 输入 yyyy-MMShowUpDown 更改为 True 效果如下: 1 正常情况,显示年月日 2 只显示年月 3 只显示年