Ribbon.ApplicationMenu and windowsformshost issue

Docking/MDI for WPF Forum

Posted 7 years ago by coding dave
Version: 12.2.0570
Avatar

Hi,

 

in my case the GUI is not displayed correctly when I open the ApplicationMenu: The part of the ApplicationMenu that then lies over a windowsFormsHost element will be 'cut out'. To say it in other words: the windowsFormsHost is shown all the time, even when it sould not be visible due to the opened and overlying ApplicationMenu.

How can I deal with this issue?

 

- dave

Comments (1)

Answer - Posted 7 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Dave,

That is the infamous WPF airspace issue.  Basically any interop (WinForms, etc.) content in a WPF window will overlay any WPF content.  Unfortunately we have no control over it since it's an issue with WPF itself.  Your only option is to hide any WinForms content under the application menu when you show the menu.  You can do this from a Ribbon.IsApplicationMenuOpenChanged event handler.


Actipro Software Support

The latest build of this product (v2019.1 build 0681) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.