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. Image for the cookie policy date

How to change Today's background color

It seems simple, but I couldn't figure it out

Looking at the sample, none of them cover the background of today
SfCalendar calendar = new SfCalendar();    
YearViewSettings yearViewSettings = new YearViewSettings();
yearViewSettings.BackgroundColor = Color.FromHex("#ffe4b5");
yearViewSettings.DateTextColor = Color.FromHex("#E6E6FA");
yearViewSettings.HeaderBackground = Color.FromHex("#8B4513");
yearViewSettings.YearHeaderTextColor = Color.FromHex("#FFFFFF");

calendar.YearViewSettings = yearViewSettings;
this.Content = calendar;


1 Reply

VR Vigneshkumar Ramasamy Syncfusion Team December 12, 2018 12:00 PM UTC

Hi Tareq Ateik,

Thank you for contacting Syncfusion Support.

Based on the provided information, we have checked your requirement with “Change the background color of Today’s date in YearView of SfCalendar on Xamarin. Forms “. As of now we don’t have support to achieve this requirement in SfCalendar control.

Please let us know if you have any concern.


Live Chat Icon For mobile
Up arrow icon