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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Change background color of single date

Thread ID:

Created:

Updated:

Platform:

Replies:

119530 Jul 4,2015 07:14 AM UTC Jul 10,2015 06:41 AM UTC WinRT 3
loading
Tags: SfCalendar
Claudio
Asked On July 4, 2015 07:14 AM UTC

Hi!
It is possible to change the background color of single date (or a set of dates) in sfCalendar?

Sugapriya Mariappan [Syncfusion]
Replied On July 6, 2015 12:17 PM UTC

Hi Claudio,

Query #1: It is possible to change the background color of single date (or a set of dates) in sfCalendar

We have prepared a sample which tries to meet your requirement. In this sample we have used Cell Template Selector to change the Background color of the cell with three cases Friday, Today and Default .Similarly, you can change the background color with the set of Dates based on your need.

Kindly download the sample from the below link:
Sample link:SfCalendarWinRTSample

Please let us know if you need any other assistance

Regards,
M.Sugapriya

Claudio
Replied On July 8, 2015 10:44 PM UTC

Hi Claudio,

Query #1: It is possible to change the background color of single date (or a set of dates) in sfCalendar

We have prepared a sample which tries to meet your requirement. In this sample we have used Cell Template Selector to change the Background color of the cell with three cases Friday, Today and Default .Similarly, you can change the background color with the set of Dates based on your need.

Kindly download the sample from the below link:
Sample link:SfCalendarWinRTSample

Please let us know if you need any other assistance

Regards,
M.Sugapriya

Hi,
your solution work well, but if I applied it on WindowsPhone Project (using SfInput.Universal), I obtain a wrong layout.

Sugapriya Mariappan [Syncfusion]
Replied On July 10, 2015 06:41 AM UTC

Hi Claudio,
We have modified the last updated sample in Windows Phone Platform. In this sample we have changed the DataTemplate of the three cases Monday, today and default, it will meet your requirement.
Please find the sample from the below location:
Sample Link:WPUniversal
Please let us know if you need any other assistance
Regards,
M.Sugapriya

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.

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

;