I have a control that contains a Togglebutton and a Popup. When the ToggleButton is clicked on, the popup appears. When the ToggleButton is unchecked, the popup should close. Additionally, clicking away from the popup should cause it to close, and cause the Togglebutton to uncheck.
我之所以这样做,是确定Popup的残余财产为虚假财产,并确立托克托克托邦的受遗嘱财产为双向,与Popup的IsOpen财产挂钩。
All is well, apart from one case - with the button checked and the popup open, clicking the button does not cause the popup to close, or the button to return to unchecked.
我认为,这必须是因为点击了纽伦,造成Popup的“Eopup s IsOpen”财产被弄错的“StrasOpen”逻辑。 这反过来又使Togglebutton不受控制。 在我点击纽子之前,必须这样做——因此点击纽子,即种族状况。
我如何看待我想要的行为?