Imports Infragistics.Windows.Editors
...
'Prevent end users from selecting weekends
Me.xamMonthCalendar1.DisabledDaysOfWeek = DayOfWeekFlags.Saturday Or DayOfWeekFlags.Sunday
'Prevent end users from selecting dates before 1/1/2008 and after 12/31/2009
Me.xamMonthCalendar1.MinDate = New DateTime(2008, 1, 1)
Me.xamMonthCalendar1.MaxDate = New DateTime(2009, 12, 31)
'Prevent end users from selecting New Year's Day and day after
Dim firstHolidayRange As New CalendarDateRange(New DateTime(2009, 1, 1), New DateTime(2009, 1, 2))
Me.xamMonthCalendar1.DisabledDates.Add(firstHolidayRange)
...