Fairly new, and I hope this isn't a dumb question, but...
When I create a RadTimeBar by its lonesome, and bind values to the PeriodStart/End, SelectionStart/End everything works as expected. If I use it in a ItemTemplate in a RadListBox, intervals no longer show.
Thank you for your interest in our RadTimeBar control.
The most common reason behind this is that the binding fails. Can you double-check the Output of VS for binding errors? If such exist, you can double-check which view model holds the properties which the PeriodStart/End, SelectionStart/End of the TimeBar are bound for. If not, can you share how you have set-up the RadTimeBar control and the ITemTemplate of the RadListBox? Also, it is possible to isolate this behavior in a standalone project so I can debug it on my side?
Regards,
Dinko
Progress Telerik
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.
Actually the binding was working fine. The problem was that the RadListBoxItem is measuring the RadTimeBar with infinity, and therefore had no context for sizing the intervals. I bound the Width of the item template to the ActualWidth of the parent object, and now they are showing as expected.