Why does a WPF Popup close when its background area is clicked?

前端 未结 5 1107
温柔的废话
温柔的废话 2020-12-14 01:47

I have a WPF Popup control that contains some editing controls (list boxes, text boxes, check boxes) laid out with quite a bit of whitespace.

Popu

5条回答
  •  -上瘾入骨i
    2020-12-14 02:30

    Don't you have your Popup nested in a ToggleButton or other kind of Button? Then stopping the routed event at Popup level would be logical to get working.

提交回复
热议问题