-
Notifications
You must be signed in to change notification settings - Fork 69
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
Cannot set Calendar startdate #70
Comments
I used this and it works fine |
you can also do MinDate="{Binding MinDate}" This option is nice if you want to limit the scrolling to the available dates from min to max and not scroll on disabled dates |
@amirvenus please update us on this issue and close it if done |
1 similar comment
@amirvenus please update us on this issue and close it if done |
thnx ali-h2010 calendar.StartDate=DateTime.Today; |
I have tried setting the calendar startday both in XAML and also in code behind.
I have even tried placing it in 3 different areas:
in XAML that didn't work:
So I tried adding it from c# code:
and even using the method and field:
None of them worked :-(
Am I missing something? I even tried redrawing it forcefully but still, it didn't start the calendar from my designated date. I read I might need to add something to my AssemblyInfo.cs:
[assembly:Xamarin.Forms.Platform.<Platform>.ExportRenderer(typeof(XamForms.Controls.CalendarButton),typeof(XamForms.Controls.<Platform>.CalendarButtonRenderer))]
But, when I type this bit:
[assembly:Xamarin.Forms.Platform.
it does not even include iOS and Droid let alone
ExportRenderer
What am I doing wrong here?
The text was updated successfully, but these errors were encountered: