Hello,
How can I set VisibleDates in XamOutlookCalendarView in code behind?
Thank you.
Hello Krasimir,
Thanks for the replay. That worked.
Thank You.
I am just checking if you require any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Thank you for your post. I have been looking into it and since the XamOutlookCalendarView is using XamDayView, XamMothView and XamScheduleView in order to display its activities in different manners, I can suggest changing the visible dates of the XamOutlookCalendarView through the controls that it is using. You can use the Utilities class to get the control that the XamOutlookCalendarView is using, for example the XamDayView, and change its VisibleDates property. Also, if you are using XamDateNavigator with the XamOutlookCalendarView control, you can change the visible dates through the SelectedDates collection of the XamDateNavigator. I have created a sample application for you, that shows how you can implement both of those approaches.
Please let me know if you need any further assistance on the matter.