-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calendar ignores value of NavigationLowerBound #2
Comments
Are you able to provide your initialisation code and XAML? Is the Calendar being initialised in ViewModel or code-behind? What version of XCalendar are you using? |
The calendar is being initialised in my ViewModel and I'm using version 4.5.2, here is the code: public Calendar<CalendarDay> MyCalendar { get; set; } = new Calendar<CalendarDay>()
{
SelectionType = SelectionType.None,
SelectionAction = SelectionAction.Replace,
NavigationLowerBound = DateTime.Today,
};
|
Moved to the main XCalendar repo: ME-MarvinE/XCalendar#171 |
Hi mate. Sorry for the very late reply. Moved away from the project for a while. I'm not sure the issue issue is fixed and the new version 4.6.0 it seems to made it a lot worse, or maybe I'm doing something wrong. Now all DayView are displaying today's and if I try to go to a previous date it takes me to 1999 (Please see attached). |
Oops, forgot to lock the conversation. As mentioned in my previous comment, I've moved this issue to the main XCalendar repo. |
Hi
I'm using the XCalendar in my Xamarin.Forms project.
I'm trying to set the values of 'NavigationLowerBound' and 'NavigationUpperBound' as part of initialising the calendar but the calendar is ignoring these values until an event forces the calendar to update, date selection or navigation. Once any of these events occurs the calendar behaves as expected and invalidate dates outside the 'NavigationLowerBound' and 'NavigationUpperBound' range.
Thanks.
The text was updated successfully, but these errors were encountered: