I use RadioButton to Create Custom Control and want to know How do I detect it when mouse move over it while its left button is pressed and held down? Of course I know it is possible with VisualTreeHelper but this method returns only top most element (not my own custom control).
I use RadioButton to Create Custom Control and want to know How do I
Share
You can use a snippet like this to dig deeper in the VisualTree, and return the first control of the specified type it finds:
To find a
MyCustomControlinside thesomeVisualcontrol: