Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ポップアップ領域の外側をクリックした場合、または親コントロールが移動WPF Popupした場合に WPF コントロールを閉じる方法は?
WPF Popup
親コントロールからは確認できません。コントロール自体ですべてを行う必要があります。
<Popup x:Name="pop" IsOpen="False" StaysOpen="False">
WinRTおよびユニバーサルアプリで使用できます
IsLightDismissEnabled="True"
どこかをクリックすると自動的に閉じます。