I'm using the following method to change the background colors on my scheduler cells.
This is a simplified example, as I have more logic in my application to figure out what colors certain cells should be.
The problem is when I set that BackColor property the whole cell gets all whacked out. From what I can tell, not only is it changing the backcolor, but also the "hoverbackcolor" and the "selectedbackcolor", both of which I have no idea how to set. Or not set, for that matter.
Also, what is BackColor2, BackColor3, BackColor4?
List<SchedulerDayViewElement> dayViews = ((SchedulerDayViewGroupedByResourceElement)radScheduler1.SchedulerElement.ViewElement).GetDayViewElements();
foreach
(SchedulerDayViewElement dve
in
dayViews) {
foreach
(SchedulerCellElement sce
in
dve.DataAreaElement.Table.GetCells()) {
sce.BackColor = Color.FromArgb(230, 230, 230);
}
}
This is a simplified example, as I have more logic in my application to figure out what colors certain cells should be.
The problem is when I set that BackColor property the whole cell gets all whacked out. From what I can tell, not only is it changing the backcolor, but also the "hoverbackcolor" and the "selectedbackcolor", both of which I have no idea how to set. Or not set, for that matter.
Also, what is BackColor2, BackColor3, BackColor4?