How to disable multiple date selection in WinForms MonthCalendarAdv?
Disable multiple date selection
In WinForms MonthCalendar, multiple date selection can be enabled/disabled by using its property named “AllowMultipleSelection”.
C#
//To disable the multi selection in MonthCalenderAdv this.monthCalendarAdv1.AllowMultipleSelection = false;
VB
'To disable the multi selection in MonthCalenderAdv Me.monthCalendarAdv1.AllowMultipleSelection = False
Figure 1. Multiple date selected in MonthCalendarAdv.
Figure 2. Multiple date selection restricted in MonthCalendarAdv.
The default value of the AllowMultipleSelection is true.
Samples:
C#: MonthCalender_MultiSelection_C#
VB: MonthCalender_MultiSelection_VB
Conclusion
I hope you enjoyed learning about how to disable multiple date selection in WinForms MonthCalendarAdv.
You can refer to our WinForms MonthCalendar feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!