Unfortunately, with the current implementation of the RadTimeline control we do not support panning. However, we have already logged such feature request
in our feedback portal. This item will help us determine our customers' demand of this feature. If it collects enough votes we will reconsider its implementation. Also, you can follow it in order to be notified whenever we change its status.
Till we implement this feature, you can try to create custom logic in your application. You can subscribe to the MouseDown. In its handler you can subscribe to the MouseMove event. In the mouse move handler, you will be able to get the delta (in pixels) that the mouse has moved. Furthermore, based on the information that you have for the RadTimeline (e.g. PeriodStart/End, VisiblePeriodStart/End, ActualWidth...) you should be able to calculate actual data that the user has panned. Once this is done you will be able to update the VisiblePeriodStart and VisiblePeriodEnd properties of the RadTimeline.
Regarding the background of the control, I am happy to inform you that there is a control that hosts the separate intervals. This control is called TimelineStripLineControl
and it exposes the NormalStyle
properties. These properties are of type Style and you can define custom styles targeting the native Border
element. Furthermore, your custom styles will be applied to all intervals alternatively. This will change the default background of the RadTimeline.
Pavel R. Pavlov
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos
and start improving your app based on facts, not hunches.