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?
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?
As I said before, I switchen 10 and -10 at a time to try something. Originally I had it the other way round like you said ;-) So what are these properties for if not for a range of dates? And is there another possibility to see all appointments within a specified range of days?