简体   繁体   English

如何在日历控件中预 select 多个月 - WPF

[英]How to pre select multiple months in a calendar control - WPF

I am making tenant management system for one of my client and in that application there is one requirement where I have to highlight those months and NOT DATES which is not paid by tenants.我正在为我的一位客户制作租户管理系统,在该应用程序中,有一个要求我必须突出显示那些月份而不是租户不支付的日期。 I tried hard looking for the solution but couldnt find.我努力寻找解决方案,但找不到。 Below is the calendar control which I am using.下面是我正在使用的日历控件。

enter image description here在此处输入图像描述

There is no way to do this with the existing DatePicker control.现有的DatePicker控件无法做到这一点。 It is designed to select a single date only.它仅设计为 select 单个日期。 You will need to build your own control for this, or find an existing third-party control.您需要为此构建自己的控件,或者找到现有的第三方控件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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