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

Multiple kinds of selection highlighting around dates in a month.

Thread ID:

Created:

Updated:

Platform:

Replies:

150467 Jan 8,2020 09:03 AM UTC May 29,2020 02:32 PM UTC Xamarin.Forms 3
loading
Tags: SfCalendar
Sarthak Srivastava
Asked On January 8, 2020 09:03 AM UTC

I am trying to develop a medical app with medication warnings around dates. These have to appear different.
I can customize a particular kind of data selector, but it applies all across the selected date uniformly.
I need different highlighting around different dates.

Please see the image below. I have 3 different kinds of highlighting requirements.
1. Current date (the date appears in a maroon text color).
2. Selected day (This is the one with Gray background and the user can selected any date on the calendar)
3. Scheduled Dates. (This is a Blue Circle and these need to be programmatically set when the app loads)





Indumathi Ravichandran [Syncfusion]
Replied On January 9, 2020 11:15 AM UTC

Hi Sarthak, 
 
Thank you for contacting Syncfusion support. 
 
Based on the provided information we have checked your requirement of, 
 
Regarding Query1: Current date (the date appears in a maroon text color). 
 
Current date text color can be modified by using TodayTextColor property of MonthViewSettings in calendar. Please find the User Guide documentation from the following link, 
 
 
Regarding Query 2:  Selected day (This is the one with Gray background and the user can selected any date on the calendar) 
 
Selected day background color can be changed by using the DateSelectionColor property of MonthViewSettings in calendar. Please find the User Guide documentation from the following link, 
 
 
Regarding Query 3: Scheduled Dates. (This is a Blue Circle and these need to be programmatically set when the app loads) 
 
It can be achieved by using custom view. We have prepared the simple sample for achieving your above requirements with custom view. Please find the sample from the following link, 
 
 
 
We hope that this helps you. Please let us know if you need further assistance on this. 
 
Regards, 
Indumathi R 


Dileep Chappidi
Replied On May 28, 2020 05:12 PM UTC

Hi, 

I have tried to download the project with scheduled dates and this seems to work in UWP app but the styles aren't visible in android as same. Could you please check and let me know what is the issue?

Thanks!

SaiGanesh Sakthivel [Syncfusion]
Replied On May 29, 2020 02:32 PM UTC

Hi Sarthak, 
 
Thank you for the update. 
 
We have checked the reported query Multiple kinds of selection highlighting around dates in a month from our end. We regret to inform you that we would not able to replicate the reported issue from our end. We have attached the tested sample photo in the following link for your reference. 
 
 
We hope this helps. Please let us know if you need any further assistance. 
 
Regards, 
SaiGanesh Sakthivel

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