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
30
Xamarin Scheduler AgendaView minimumDate and maximumDate don't work
posted

Hello,

I do this:

scheduler.AgendaViewMinimumDate = scheduler.SelectedDate.AddDays(10);
				scheduler.AgendaViewMaximumDate = scheduler.SelectedDate.AddDays(-10);
				scheduler.ViewMode = Infragistics.Scheduler.Core.SchedulerViewMode.AgendaView;

But the AgendaView shows only the appointments of the selected date. Using specified dates don't affect either.

What should I do?

Parents
  • 29105
    Offline posted

    Hello Kelvin, 

    Thank you for contacting Infragistics. I would try setting the MinimumDate and MaximumDate properties, in addition, on the XamScheduler seeing how the AgendaViewMin/Max properties are driven by them. It's worth pointing out that the agenda view isn't intended to display a range of dates. You can use the MonthView together with the AgendaView by setting the MonthViewAgendaVisibility property. Also, I am a bit confused why your adding days on the for the AgendaMinimum but subtracting days on the maximum. Shouldn't that be the other way around?

Reply Children