What comes up to my mind is to first bind the FontSize property of the TextBlock to a custom property from your model. Then you can subscribe to the VisiblePeriodChanged
event of the RadTimeLine
control. In the event handler, you can create your own logic which changes the FontSize of the TextBlock depending on your conditions. The things here which need to be taking into consideration is that in what scenario to change the size. This event will be fired when the user scroll and zoom as the visible period is changed.
Another approach will be to subscribe to the ItemIntervalChanged
event. This way you could apply different FontSize depending on the current interval. You can get the new and old interval from the event arguments.
Hope one of these approaches will work for you.
Get quickly onboarded and successful
with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.