Hello Telerik,
The special slots are really nice to visually represent the resource's availability.
Our resources have default schedules with free (green) and occupied (red) time (with some recurrence).
However on some occasions we need to display an exception on these default schedules (some holiday, maintenance of equipment, sick leave of some person, a general strike, whatever :-) )
In these occasions, I add a new special slot (and a style selector, and a Style - a reddish hatch or maze - in xaml) and add them to the special slots list. The styles I'm using are semi transparent and I can see all of them on the calendar as expected. However I was unable to control the Z-index, so sometimes I see the maze (exception slot) below and sometimes above the default slots. (I'd like them to stick on top)
I tried to control the layering the way I control the order of shown resources (by sorting them in the ResourceType), but that din't work.
I also tried to control the layering using the Z-index.
UPDATE: sorting the special slots does work. I sort them (in the viewmodel) based on the derived Slot classes. The last in the list is the one on top. Problem solved. (However it would be nice if the Panel.ZIndex would work on the HighlightItemStyle)
Greetz,
Nico
The special slots are really nice to visually represent the resource's availability.
Our resources have default schedules with free (green) and occupied (red) time (with some recurrence).
However on some occasions we need to display an exception on these default schedules (some holiday, maintenance of equipment, sick leave of some person, a general strike, whatever :-) )
In these occasions, I add a new special slot (and a style selector, and a Style - a reddish hatch or maze - in xaml) and add them to the special slots list. The styles I'm using are semi transparent and I can see all of them on the calendar as expected. However I was unable to control the Z-index, so sometimes I see the maze (exception slot) below and sometimes above the default slots. (I'd like them to stick on top)
I tried to control the layering the way I control the order of shown resources (by sorting them in the ResourceType), but that din't work.
I also tried to control the layering using the Z-index.
UPDATE: sorting the special slots does work. I sort them (in the viewmodel) based on the derived Slot classes. The last in the list is the one on top. Problem solved. (However it would be nice if the Panel.ZIndex would work on the HighlightItemStyle)
Greetz,
Nico