This question is locked. New answers and comments are not allowed.
I am working on a control that is basically a dropdown with a popup content area... The attached picture can explain it better than I can here.
I have started using ToggleButton with a RadContextMenu and it seems to work well. I think my ultimate goal would be to simply have a giant ContentPresenter in the popup instead of using a RadContextMenu... Until I figure that out, I can hack each RadMenuItem using a TemplateSelector and choose a different appearance for each one that will get me closer to my goal...
That being said, I have one problem. How can I "close" the popup when something other than the RadMenuItem receives the click event... for example if I click the Button "option 1"? The context menu works fine if I click the RadMenuItem itself.
I have started using ToggleButton with a RadContextMenu and it seems to work well. I think my ultimate goal would be to simply have a giant ContentPresenter in the popup instead of using a RadContextMenu... Until I figure that out, I can hack each RadMenuItem using a TemplateSelector and choose a different appearance for each one that will get me closer to my goal...
That being said, I have one problem. How can I "close" the popup when something other than the RadMenuItem receives the click event... for example if I click the Button "option 1"? The context menu works fine if I click the RadMenuItem itself.