This is a migrated thread and some comments may be shown as answers.

Timeline day coloring

1 Answer 55 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Jurica
Top achievements
Rank 1
Jurica asked on 03 Jun 2011, 05:51 AM
I'm having problems styling across a specific column ( day ) on the timeline view.
I've tried the only approach i found in the documentation and it didn't work, maybe I just took a wrong turn somewhere
or maybe I was mistaken in my approach from the very beginning. I don't know...
Anyway, here is what I tried:

<local:TodaySlotStyleSelector x:Key="TSSS" ><br>
            <local:TodaySlotStyleSelector.TodayStyle><br>
                <Style TargetType="telerik:HighlightItem"><br>
                <Setter Property="Template"><br>
                    <Setter.Value><br>
                        <ControlTemplate><br>
                            <Border Background="CornflowerBlue"/><br>
                        </ControlTemplate><br>
                    </Setter.Value><br>
                </Setter><br>
                </Style><br>
            </local:TodaySlotStyleSelector.TodayStyle><br>
        </local:TodaySlotStyleSelector>


The TodaySlotStyleSelector just returns the TodayStyle, nothing special.
In the code-behind I added a slot for todays date, yet nothing happens.

Just to make things clear again, I'm trying to get the column in the timeline view for todays date to be a different style or something,
anything would be good at this point.
Please advise, thnx

1 Answer, 1 is accepted

Sort by
0
Jurica
Top achievements
Rank 1
answered on 06 Jun 2011, 07:54 AM
I've found the solution, i think.

So, if anyone else has been troubled by something similar, the answer TimeRulerItemStyleSelector
Tags
ScheduleView
Asked by
Jurica
Top achievements
Rank 1
Answers by
Jurica
Top achievements
Rank 1
Share this question
or