WPF window displayed using Show (not ShowDialog) in VSTO project - ComboBox issue
In a VSTO 2010 solution (Excel workbook document-level), when a Window containing a ComboBox is displayed using Show() instead of ShowDialog() the popup list will close as soon as the mouse is released, contrary to expected behavior of remaining open until a selection is made or the control loses focus.
Moreover, if the ComboBox is clicked and released (causing the list to flash on and off) without a selection being made, the window itself (the top bar and minimize/maximize/close buttons) is not clickable.
Other controls in the window body continue to function.
We have a plugins system that allows developpers to extend functions of the main application and they may create WPF windows as well as display them using Show (and not ShowDialog) so we can't use custom hack as it would mean that we ask every third parties developers to do so and it's not acceptable.
Thank you very much for providing us a solution.
Best regards,
Guillaume