SfCalendar blackout's color solid instead striped

Hi!

How could I change Blackout's color from striped to solid using SFCalendar?
I'm using iOS but if possible I would like to do the same for Android.

Thank you!

6 Replies

VA Vinnalan Aravazhi Syncfusion Team February 9, 2018 12:36 PM UTC

Hi Caio Liberali,

Thanks for contacting Syncfusion support.

We have checked your requirement "Change Blackout color from striped to solid" from our side and we have created a sample based on your requirement. In this sample we have customized the blackout dates appearance using DidDrawMonthCell delegate method. Please find the sample from the below link.

Sample: http://www.syncfusion.com/downloads/support/forum/135844/ze/CalenderBlackOut198323161 

This can also be achieved in Xamarin.Forms by using OnMonthCellLoaded event. Please find the sample from the below link.

Sample: http://www.syncfusion.com/downloads/support/forum/135844/ze/Custom_Calendar524423197 

Please let us know if you have any other query.

Regards,
Vinnalan K A. 



CL Caio Liberali February 9, 2018 06:02 PM UTC

Hi Vinnalan Aravazhi,

Exactly what I was looking for!
Could you help me with two problems? 
1 - The cell is losing all its format, exactly what I want for blackout, but I would like to change just the background color and keep day number format.
2 - I'm using Xamarin Native, could you help me with Android code?

Thank you very much!!


VA Vinnalan Aravazhi Syncfusion Team February 12, 2018 02:33 PM UTC

Hi Caio Liberali,

Query 1:

We have checked your requirement "Change just the background color and keep day number format" from our side and we have created a sample based on the requirement. Please find the sample from the below link.

Sample: http://www.syncfusion.com/downloads/support/forum/135844/ze/BlackoutDatesIOS-957299412 

Query 2:

We have checked your requirement "Change Blackout's color from striped to solid in Xamarin.Android" from our side and we will provide workaround on February 13, 2018.

Regards,
Vinnalan K A. 



VA Vinnalan Aravazhi Syncfusion Team February 13, 2018 01:23 PM UTC

Hi Caio Liberali,

We have checked your requirement "Change Blackout's color from striped to solid in Xamarin.Android" from our side and we have created a sample based on your requirement. Please find the sample from the below link.

Sample: http://www.syncfusion.com/downloads/support/forum/135844/ze/BlackoutDroid642324839 

Please let us know if you have any other queries.

Regards,
Vinnalan K A. 



CL Caio Liberali February 13, 2018 09:14 PM UTC

Thank you very much Vinnalan Aravazhi!!




VA Vinnalan Aravazhi Syncfusion Team February 14, 2018 01:13 PM UTC

Hi Caio Liberali,

We are glad to know that you have achieved your requirement and Please let us know if you have any other queries.

Regards,
Vinnalan K A.

Loader.
Up arrow icon