Hi,
Is it possible to make a WPF window as a child to C# MDI winform. If yes please give me the code. If no please give me the alternate solution.
Thank you, Shashi
Hi,
Is it possible to make a WPF window as a child to C# MDI winform. If yes please give me the code. If no please give me the alternate solution.
Thank you, Shashi
Given that From.MdiChildren is an array of Forms, I do not think that this would be easy to do. A better approach would be to change your WPF UI to be a UserControl
instead of a Window
, and then add your UserControl
to a Form
using the ElementHost control. There seems to be a few tutorials for this around (one example is http://www.switchonthecode.com/tutorials/wpf-tutorial-using-wpf-in-winforms, from a quick search).