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?
I tested this out and the AgendaView's Min/Max properties are not working as expected. Those properties should specify a range for appointment visibility within the Scheduler's Min/Max. This is effective when using the MonthView mode and your switching selected days.
I created a private support ticket to provide more details. i.e. CAS-212659-L5T7M3, and you can access it after signing into your account on the Infragistics website, here: https://ko.infragistics.com/my-account/support-activity.
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?
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?
Originally I had 10 and -10 switched. So the minimum was selected date -10 days and maximum was selected date +10 days.
But this didn't work either.