Difference between Popup's IsOpen and Visibility properties?
- by cfouche
I've played around with the WPF Popup Control and as far as I can see, the Visibility property is superfluous.
If you have a Popup with IsOpen = True, it will be visible even if its Visibility = Collapsed.
If you have a Popup with IsOpen = False, then its Visibility will be Collapsed, and will remain "Collapsed" when IsOpen changes to true, and it will appear. (i.e. you'll have something that appears on your screen, even though Snoop says it is Collapsed.)
Why does the Popup control have both these properties? Am I missing something here?