I use light and dark themes in my app(android + xamarin form). Calendar supported only light theme.
I try use :
Calendar.SetStyleForCell = EvaluateCellStyle;
private CalendarCellStyle EvaluateCellStyle(CalendarCell cell)
But then my page is loaded for 5 seconds longer.
Maybe there is another way?
6 Answers, 1 is accepted
However when I'm trying to customize calendar cells styles, it tooks up to even 6-8 seconds, which is way to long.
Below example of my cells styles customization - look especially at **Calendar.SetStyleForCell = SetStyleForCell;**
But it requires platform specific code implementation.
You can try applying the modifications through the newly introduced theming mechanism - You can Set a Theme for the Calendar control and eventually modify the resources that are used. I have attached a sample for your reference. Can you try this approach in your actual setups and update the thread whether it has improved the loading time?
Thanks for your reply. Customization rules work for me. I don't want use "Xamarin.Forms.Theme..". My work project is not build with this package. I think this package is not updated(the last update was 04/05/2016).
I do not see any trials or purchases for UI for Xamarin on your account. I assume you're using your work's license.
If that is the case, please ask them to assign you as the Licensed User as this is the policy for Telerik product licensing (1 license per developer). It only takes about 20-30 seconds to assign you as the user on the Manage Licensed Users page (the company will still own the product and can change Licensed User at any time).
Here are the steps:
1 - Go to the Manage Licensed Users page
2 - Remove the company as the current Licensed User (they still retain ownership)
3 - Add you as a Licensed User using your email address.
This will allow you to get the latest update from the Telerik NuGet server directly, the instructions to connect are here. Alternatively, you can download non-package based installer here and use the DLLs directly.
Side Note: Being the Licensed User not only allows for you to update to the latest release, but you'll also get the support license and can submit support tickets instead of forum posts. We do actively monitor the forums, but our response time is limited by available resources. A support Ticket carries a guaranteed response time.
Let us know if you have any further questions or concerns.
Lance | Tech Support Engineer, Sr.