How to hit detect on a null or transparent background?
问题 I'm running into a problem where a button with path content is only detecting mouse clicks on the path. I'd like to, for ux, to have the click registered anywhere in the button. I've set the background of the button to both null and transparent so the top control container dictates the background style. Here's another SO post : Mouse event on transparent background As stated I've tried both transparent and null so far. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml