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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Calendar header background color

Thread ID:

Created:

Updated:

Platform:

Replies:

144070 Apr 16,2019 11:00 PM UTC Apr 23,2019 08:32 AM UTC Xamarin.iOS 5
loading
Tags: SfCalendar
Luca
Asked On April 16, 2019 11:00 PM UTC

hi,
how can i change header background color?
thanks


Subburaj Pandian Veluchamy [Syncfusion]
Replied On April 17, 2019 12:03 PM UTC

Hi Alberto, 
 
Thank you for contacting Syncfusion support. 
 
Your requirement of customzing the Calendar MonthView ViewHeader background color can be achieved using DayHeaderBackgroundColor property of MonthViewSettings in Calendar.

Please refer following code example for the same, 
 
[C#] 
SFMonthViewSettings monthViewSettings = new SFMonthViewSettings(); 
monthViewSettings.DayHeaderBackgroundColor = UIColor.Blue; 
calendar.MonthViewSettings = monthViewSettings; 
 

Note: Since these details not included in our User Guide documentation, we have created task for the same. We will update the same as soon as possible. 

Please let us know, if you need any further assistance.  
 
Regards,
Subburaj Pandian V 


Luca
Replied On April 22, 2019 04:54 PM UTC

DayHeaderBackgroundColor doesnt't exist....
using DayLabelBackgroundColor i can change  the color of the day but i need to change the header where there is the month name and the 2 arrows
thanks

Luca
Replied On April 22, 2019 04:57 PM UTC

ok found this HeaderBackgroundColor
thanks!

Luca
Replied On April 22, 2019 09:12 PM UTC

what about selected date background color?
thanks

Subburaj Pandian Veluchamy [Syncfusion]
Replied On April 23, 2019 08:32 AM UTC

Hi Alberto,  
  
Thank you for the update. 
  
Your requirement of customizing the Calendar MonthView Selected date background color can be achieved using DateSelectionColor property of MonthViewSettings in Calendar.

Please refer following code example for the same, 
 
  
[C#]  
SFMonthViewSettings monthViewSettings = new SFMonthViewSettings();  
monthViewSettings. DateSelectionColor = UIColor.Blue;  
calendar.MonthViewSettings = monthViewSettings;  
  

You can refer our User Guide documentation for the same,
 
 
 
Regards,
Subburaj Pandian V 
 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon