So I have an application that allows a user to pick one of three buttons. I don’t want the button to be press-able after they click it but I also don’t want the button to look all isenabled=false ugly. As far as I know there’s no way of disabling the appearance change on the isenabled=false so I thought I’d use a transparent control placed over it to prevent the user from clicking it. My question is, what control should I use? Was trying Label but couldn’t get that to fill a grid cell. Would something like Canvas work, or is that click-through-able?
Thanks!
If you want to prevent to button to be clicked, use
IsHitTestVisible, binding it to one (notifying) property. It will do just what you want : ifIsHitTestVisibleis false, the mouse clics won’t affect it, and it will look the same.