Hello John,
Supposedly you are referring to the TimelineViewDefinition. You need to use the
TimeRulerItemTemplateSelector and customize its
HorizontalTimelineGroupTemplate.
Set the Binding to
DateTime rather than
FormattedValue and add a
StringFormat specifier. Also, add an additional TextBlock to hold the words "Today", "Yesterday" or "Tomorrow" and bind it again to the
DateTime property of the TimeRulerItem, but using a
Converter to return the correct string.
For example:
To make the day before today visible, you will also need to configure the
VisibleRange of the view definition. Please, check
this help article on the same topic.
I hope this helps.
Greetings,
Dani
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>