Your StackPanels do not actually extend to the marked area. You will need to swap them for grids using Auto-size ColumnDefinitions for text content and a star-size column on the right or just wrap your StackPanels in grids. Also make sure that the backgrounds of your panels are not zero (by default) - use a brush even if it is transparent, and make sure that IsHitTestVisible is not set to false - otherwise your panels will be invisible for testing and will not be interactive.
source share