
I have a situation where I am using a PopupButton as an Adorner on a Element on a canvas. In the content of the adorner.PopupButton i have a property Grid with just a few properties. Now as an PropertyEditor I have another Popup button that holds a user control as popup content.
It works except that when the PropertyEditor.PopupButton's popup content section closes it also closes the adorner.PopupButton.Popup.
I could set StaysOpen = true (on the adorner popup button) and manage the closing the the Adorner.Popup button if I had a better understanding of what normally triggers the closing of the popup. Or I could short-circuit what event is resulting the the PropertyEditor.PopupButton that is causing outer popupButton popup to close.
Suggestions?
Thanks,
jeff
It works except that when the PropertyEditor.PopupButton's popup content section closes it also closes the adorner.PopupButton.Popup.
I could set StaysOpen = true (on the adorner popup button) and manage the closing the the Adorner.Popup button if I had a better understanding of what normally triggers the closing of the popup. Or I could short-circuit what event is resulting the the PropertyEditor.PopupButton that is causing outer popupButton popup to close.
Suggestions?
Thanks,
jeff