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

How do you customise the appointment dot indicator colour?

Thread ID:

Created:

Updated:

Platform:

Replies:

141783 Jan 4,2019 03:37 AM UTC Jan 4,2019 07:14 AM UTC Xamarin.Forms 1
loading
Tags: SfSchedule
Smokeball
Asked On January 4, 2019 03:37 AM UTC

As the title describes, I know the colour is generally derived from the Appointment's Color property, but if we wanted just a consistent single colour for the dot indicators on the Month view how do we do that?

Thanks

Subburaj Pandian Veluchamy [Syncfusion]
Replied On January 4, 2019 07:14 AM UTC

Hi Winston, 
 
Thank you for contacting Syncfusion support. 
 
We have checked your requirement of setting different color to Month cell Appointment indicator in Schedule Xamarin.Forms, as of now we don’t have any support to change the month cell indicator color. Your requirement can be achieved by setting Custom view to the entire month cell using OnMonthCellLoadedEvent of Schedule or setting MonthCellTemplate of Schedule MonthViewSettings. 
 
You can refer our online user guide documentation for the same by the below link,   
 
   
Using OnMonthCellLoadedEvent you can set the desired CustomView to the View argument and also get the Date, Appointment details of the particular day. Please refer the code example for the same, 
 
[c#] 
scheduler.OnMonthCellLoadedEvent += Scheduler_OnMonthCellLoadedEvent; 
 
        private void Scheduler_OnMonthCellLoadedEvent(object sender, MonthCellLoadedEventArgs e) 
        { 
            var Appointments = e.appointments; 
            var Date = e.date; 
            var view = e.view; // Set the required view 
        } 
 
 
Please let us know, if this helpful. 
 
Regards,
Subburaj Pandian V 


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

;