We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to select particular days from code behind in CalendarEdit

CalendarEdit supports multiple selection of dates in the month and this support is enabled/disabled through AllowMultiplySelection property of CalendarEdit. To select multiple dates, we need to click on each date and that collection of Dates would be added in SelectedDates property of CalendarEdit.

In this article, we are discussing about how to select multiple days without clicking each date from calendar. For instance, we have selected all days, all week days, all weekend days and selected multiple dates based on desired day from the current month. Following code examples illustrate the same,

Options Grid:

 

Calendar Grid:

 

ViewModel.cs:

 

Sample:

http://www.syncfusion.com/downloads/support/directtrac/general/ze/CalendarEdit_Sample295739469.zip

 

Article ID: Published Date: Last Revised Date: Platform: Control:
8652 04/06/2018 04/06/2018 WPF CalendarEdit
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.