The ScheduleAppointment color properties (Color, BackColor, TimeSpanColor) don't seem to work.
The following color properties of the ScheduleAppointment object don't seem to appear in the form. Only the LabelValue and MarkerValue seem to have an effect on the UI.
Color
BackColor
TimeSpanColor
Are we missing something?
Thanks,
Peregrino
SIGN IN To post a reply.
5 Replies
1 reply marked as answer
AR
Arulpriya Ramalingam
Syncfusion Team
July 15, 2020 02:46 AM UTC
Hi Peregrino,
Thank you for using Syncfusion products.
By default, the background color for appointments will be updated based on the LabelValue. If you need to change the background color, the LabelValue colors can be added with your customized color. We already provided a knowledge base document to achieve this from sample level and please refer the same from below link.
Please get back to us, if you need any further assistance.
Regards,
Arulpriya
PE
Peregrino
July 15, 2020 01:24 PM UTC
Hi Arulpriya,
Thanks for your response. We are not utilizing the default New Appointment form so we would prefer to not have to use the Label field to set the color properties on the UI. Are we correct to assume these properties are not really usable or can be set directly at runtime?
Color
BackColor
TimeSpanColor
Regards,
Peregrino
AR
Arulpriya Ramalingam
Syncfusion Team
July 16, 2020 07:03 PM UTC
Hi Peregrino,
Thank you for the update.
We have analyzed the reported properties of ScheduleAppointment and we have rendered the appointments at our end using these properties at any conditions and all the appointment colors are rendered with MarkerValue and LabelValue. These properties can be used to retrieve the color of appointment dynamically from sample level. If you need to change the color of appointments, we would suggest that you to create a custom ScheduleDataProvider as in the KB which we have provided earlier.
Please get back to us, if you need any further assistance.
Regards,
Arulpriya
Marked as answer
PE
Peregrino
July 17, 2020 12:31 PM UTC
Thank you so much Arulpriya for checking.
Regards,
Regards,
Peregrino
AR
Arulpriya Ramalingam
Syncfusion Team
July 20, 2020 05:07 PM UTC
Hi Peregrino,
Thank you for the update. Please get back to us, if you need any further assistance.
Regards,
Arulpriya
SIGN IN To post a reply.
- 5 Replies
- 2 Participants
- Marked answer
-
PE Peregrino
- Jul 13, 2020 10:05 AM UTC
- Jul 20, 2020 05:07 PM UTC