I have a RadListBox with an ItemTemplate that contains a read-only RadNumericUpDown. When I click on the RadNumericUpDown, the list item is not selected. How can I make that happen?
By convention, WPF controls would not listen for handled events and when a control executes logic caused by an event occurrence, the event is handled. Despite being read-only, RadNumericUpDown would still handle the mouse down event, as it takes the input focus for the needs of selection. I am attaching a sample project that demonstrates how to achieve the desired results.
Regards,
Ivan Ivanov
Telerik by Progress
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.