We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

iOS - set color of multiple dates

Thread ID:

Created:

Updated:

Platform:

Replies:

124540 Jun 13,2016 08:46 AM Jun 16,2016 04:37 AM Xamarin.Forms 4
loading
Tags: SfCalendar
Bharadwaj Satbhai
Asked On June 13, 2016 08:46 AM

Hi,

Can we set different color to the range of dates which we want and also for specific date? As like in Android. 

Properties like  CurrentMonthTextColor and DisabledTextColor are working in Android only but not in iOS.
Is there any solution for this?



Hemalatha Marikumar [Syncfusion]
Replied On June 14, 2016 08:51 AM

Hi Bharadwai,

Thanks for contacting Syncfusion Support.

Query: Can we set different color to the range of dates which we want and also for specific date?

Your requirement can be achieved by using OnDrawMonthCell property. We have created a sample for the same and it can be downloaded from the following link

Link: http://www.syncfusion.com/downloads/support/forum/124540/ze/CalendarSample12454048645171

Note: OnDrawMonthCell is available in our latest version 14.1451.0.46. Please upgrade your version to the latest one.

Query: CurrentMonthTextColor and DisabledTextColor are not working in iOS

We were unable to reproduce this issue. Please refer the above sample. If the issue still persists, update us with the modified sample or replication procedure to analyze more and provide an appropriate solution.

Regards,
Hemalatha M.R


Bharadwaj Satbhai
Replied On June 15, 2016 02:19 AM

Hi Hemalatha,

It is not working properly for iOS. 

Note: OnDrawMonthCell is available in latest version but not getting called for iOS. Please do the needful changes for iOS.

Please check the following link to get a modified code-

https://drive.google.com/file/d/0Bzn6WXsEhrOmWTVfVkd4NnJyMEk/view?usp=sharing


Thanks.

Bharadwaj Satbhai
Replied On June 15, 2016 02:22 AM

Hi,

One more functionality i have added to the code is inline events.
This works perfectly on both the platforms but i want to show indicator for it.
Inline event indicator is showing for iOS but not for Android.

Why these things happens? Please update asap. Awaiting for reply.

Thanks!

Hemalatha Marikumar [Syncfusion]
Replied On June 16, 2016 04:37 AM

Hi Bharadwaj,

Thanks for your update.

The reported issues," OnDrawMethodCell is not working properly for iOS " and "Inline event indicator is not showing for Android. " are known issues. We have already fixed these issues. This fix will be available in our upcoming volume 2 release. You can check our website periodically to know about our release.

Regards,
Hemalatha M.R


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;