This seems very strange to me.
I know through some adventurous inheritance you can convert most UIElements to a button, but it is a cumbersome way of implementing the most basic of of computer events
This seems very strange to me.
I know through some adventurous inheritance you can convert most UIElements to a button, but it is a cumbersome way of implementing the most basic of of computer events
I think the most basic events are MouseDown and MouseUp which are available to every UIElement
The ButtonBase
class certainly has a Click
event. So has derived classes.
use RoutedEvents event if you really need to use. Other wise use dependency property to register a Click event against your control and then do what ever you want to do.