This is a WPF application.
I'm trying to get the control directly under the mouse and it's proving to be a surprising pain.
Mouse.DirectlyOver, InputHitTest and VisualTreeHelper.HitTest all reference the VISUAL tree. I'm trying to grab the control itself.
Example: If I have a TextBox and use any of the above, it will return a TextBoxView whereas I want the TextBox itself.
This is happening inside of a PreviewLeftButtonDown event. Sender is not an option as Sender is always a ListViewItem for me. If I check e.OriginalSource it is still the VisualTree element and not the actual control.
Happy to explain further if need be.
Thanks