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
725
XamOutlookCalendarView - Switching between Week and DayView
posted

When i switch the CurrentView between Week and Day View, the control still displays in the WeekMode, even though the CurrentViewMode of the XamOutlookCalendarView is set to OutlookCalendarViewMode.Day.  Same behavior is observed when switching between ScheduleView to DayView.

However, if I switch from month view to day view, it works fine.

 

Please Suggest.

Thank You,

Hariharan

 

  • 54937
    Offline posted

    This is correct behavior. While in DayViewDay the control can display 1 or more days so we cannot assume that simply changing the CurrentView should change the visible dates because depending on the order of the code you have already changes the visible dates. You can either manipulate the VisibleDates directly or you can execute the XamOutlookCalendarViewChangeToDayViewCommand with the xamOutlookCalendarView as the parameter.