请问有谁知道如何使.NET月历上的所有星期天都具有红色背景颜色吗?
myCal.SelectedDates.Add({DateTime object});
myCal.SelectedDayStyle.BackColor = System.Drawing.Color.Red;
void DayRender(Object source, DayRenderEventArgs e)
{
// Change the background color of the days in the month to Red.
if (e.Day.Date.DayOfWeek == DayOfWeek.Sunday)
e.Cell.BackColor=System.Drawing.Color.Red;
}