我如何禁用一个DateTimePicker控制一些日期?日期、DateTimePicker

2023-09-02 10:40:09 作者:无声告白

我想知道是否有可能禁用一个DateTimePicker选择的日期,使用户无法选择它们。我知道它有可能在网络形式,但在Windows窗体即时通讯无法做到this.how我能做到这一点。

I was wondering is it possible to disable selected dates in a DateTimePicker, so that user cannot select them. i know its possible in web forms but in windows forms im unable to do this.how can i achieve this.

推荐答案

开发前preSS控制通常是非常灵活的,并从的此支持文章,你可以达到你想要做自己的 DateEdit 控制什么。

Developer Express controls are usually very flexible and judging from this support article you can achieve what you want to do with their DateEdit control.

控件集合,可以从以下位置获得:超过60个免费控件从DevEx preSS 。

The control collection can be obtained from the following location: Over 60 Free Controls from DevExpress.

不要忘记阅读EULA。

Don't forget to read the EULA.

 
精彩推荐
图片推荐