How to wire up a click event for a custom usercontrol button? Should I use CustomControl?
I wanted to create a button that had an image and a textblock as content. So I went about looking for an answer and found a post ( Reusable Custom Content for Buttons ) which told me to create a usercontrol. I did this and it works great. I can set the image source and text through dependency properties. However, I am stuck as there is no click event for my control. I did a little more digging and concluded that I probably need a CustomControl derived from Button. Is this correct? Or would it be better to wire up a click event to my UserControl? Here's my UserControl: <UserControl x:Class=