wpf - Handling Popup with Togglebutton -


i have toggle button , popup in xaml. popup's isopen bound toggle button's ischecked , popup's staysopen set false. popup open when toggle button checked , close if unchecked. works fine.

my problem have opened popup , click away popup, close popup due stays open false , if tried open popup clicking toggle button, popup not open. since in checked state, , turn unchecked state. not open popup.

any idea, how may handle this?

handle popups closed/opened events , on there toggle checkbox states, , vice versa. i've had similiar problems myself popup.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -