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

How do you customise the appointment dot indicator colour?

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

1 Reply

SP Subburaj Pandian Veluchamy Syncfusion Team 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 


Loader.
Live Chat Icon For mobile
Up arrow icon