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
close icon

Styling WinRT (XAML) Calendar Control's Today Date Cell

Hi,

The default SfCalendar control will highlight today's date with a bluish tinted brush. From the control template derived from Blend I was able to track down to the CalendarView template, but I could not find anywhere the styling of this part. I would like to change the bluish tint to another color that suits my app better.

I've tried playing with the AccentBrush but it's not taking any effect.

Any help would be appreciated, thanks!


Best regards,
VT

3 Replies

MM Mageshyadav M Syncfusion Team May 1, 2013 07:42 AM UTC

Hi VT,

Thank you for using Syncfusion products.

Please find the sample to assist your requirement of changing the brush color of highlighted day cell from the following location,

http://www.syncfusion.com/downloads/Support/DirectTrac/107735/CalendarSample-1037356624.zip

In the above sample, we have customized the CalendarDayButton style and defined a key 'AccentBrush', changing the value of the key 'AccentBrush' will change the brush color of highlighted day cell.

Please let us know whether the sample assists your requirement.

Please let us know if you have any queries.

Regards,
Mageshyadav.M



AC ACanha September 12, 2013 10:55 AM UTC

Hi

The before link give an error on downloading. Can you please turn available this sample?!

Regards


VV Vignesh V Syncfusion Team September 13, 2013 06:31 AM UTC

Hi Acanha,

Sorry for the inconvenience caused.

Due to some server problem we are unable to retrieve that sample.We have created a new sample as per your requirement.

Please find the attached sample in below link,

 108565_Calcellstyle.zip

Please let us know whether the sample assists your requirement.


Regards,

Vignesh V


Loader.
Live Chat Icon For mobile
Up arrow icon