You can handle the RadContextMenu's Opened
event and then get the clicked element with its GetClickedElement
method. Then you can set the RadTimeline's SelectedItem
to this element's underlying DataItem. Here is an example of how you can do that:
sender, RoutedEventArgs e)
var timelineItemControl =
var timelineDataItem = timelineItemControl.DataContext
.radTimeline.SelectedItem = timelineDataItem.DataItem;
You can also read some more about the Selection
in RadTimeline in our documentation.
I hope this is helpful. Let me know if I can be of any further assistance.
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin
, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.