Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
780
VisibleDates XamOutlookCalendarView
posted

Hello,

How can I set VisibleDates in XamOutlookCalendarView in code behind?

Thank you.

Parents
  • 30945
    Verified Answer
    Offline posted

    Hello,

     

    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.

     

    Sincerely,

    Krasimir

    Developer Support Engineer

    Infragistics

    www.infragistics.com/support

    SettingVisibleDatesThroughCode.zip
Reply Children