Hi Fernando,
Thank you for using Syncfusion products.
#Regarding Changing the Weekend cell background color
We have checked the reported query from our end. Your requirement can be achieved with help of MonthCellLoadedEvent in SfSchedule. please refer to the following code snippet for your reference.
Code snippet
|
private void Schedule_OnMonthCellLoadedEvent(object sender, MonthCellLoadedEventArgs e)
{
if (e.date.DayOfWeek == DayOfWeek.Saturday || e.date.DayOfWeek == DayOfWeek.Sunday)
{
e.cellStyle = new CellStyle();
e.cellStyle.BackgroundColor = Color.Red;
if(e.isNextMonthDate || e.isPreviousMonthDate)
{
e.cellStyle.TextColor = Color.LightGray;
}
}
} |
Please refer to the sample in the following locations.
Please let us know if you have any concerns.
Regards,
SaiGanesh Sakthivel