Child of WindowsFormsHost inside materialDesign:DialogHost.DialogContent not visible.

Author: gabrieldickertCreated Dec 23, 2023Updated Jun 16, 2026
Labelsbugdialoghost

Bug explanation

Hello everyone!

I want to use a WindowsFormsHost as Content inside of a DialogHost.

Unfortunately the added child element of the WindowsFormsHost is not visible, but i can interact with it (e.g. the contextmenu opens when rightclicking on an inputmask)

Do you have any ideas how i can achieve to see the child of the WindowsFormsHost ?

Best wishes

Gabriel

Version

4.9.0

Source: MaterialDesignInXAML/MaterialDesignInXamlToolkit