Imports Infragistics.Win
Imports Infragistics.Win.UltraWinSchedule
Imports Infragistics.Win.UltraWinSchedule.CalendarCombo
Private Sub CustomizeSelectionBehavior()
' Don't alter selection when the dropdown appears
Me.ultraCalendarCombo1.AutoSelect = False
' Automatically update the control when the associated UltraCalendarInfo
' object's SelectedDateRanges collection changes
Me.ultraCalendarCombo1.AutoSelectionUpdate = True
' Don't automatically close the dropdown when a date is selected
Me.ultraCalendarCombo1.AutoCloseUp = False
' Display the latest selected date in the edit portion
Me.ultraCalendarCombo1.DateSelectionType = DateSelectionType.LatestSelectedDay
End Sub