Hi Martin,
you have two options to achieve what you’re looking for, but both of them require you to understand how hit testing on Panels work. By default, only visible elements consume clicks, so that explains the behaviour you’re seeing.
Option one - make the whole Panel contain a visual that covers all of the parent:
<Panel Alignment="CenterRight" Margin="0,0,16,0" Clicked="{add}" Width="25" Height="25" >
<Rectangle Width="25" Color="#fff" Height="1" />
<Rectangle Width="25" Color="#fff" Height="1" >
<Rotation Degrees="90" />
</Rectangle>
<Rectangle Fill="#fff8" /> <!-- this here adds a semi-transparent white rectangle -->
</Panel>
Option two - override the default hit testing behaviour, which will make the Panel consume clicks even if it’s empty: