How can I create a completely invisible button?

c#, visual-studio-2012, wpf, xaml

Solution

Try this :

<Button Opacity="0" />

Problem

I'm trying to create a WPF button, that is completely invisible, but still has an onclick or click event, without resorting to something like MouseDown and check the keyeventargs, etc. I have tried setting the button's visibility to Collapsed or Hidden, which also makes the button unclickable, and therefore useless for my purposes. Any more ideas?

Original source

Related problems