AB4D Forum
WPF UserControl Issues - Printable Version

+- AB4D Forum (https://forum.ab4d.com)
+-- Forum: Products Forums (https://forum.ab4d.com/forumdisplay.php?fid=4)
+--- Forum: Ab3d.PowerToys (https://forum.ab4d.com/forumdisplay.php?fid=9)
+--- Thread: WPF UserControl Issues (/showthread.php?tid=4440)



WPF UserControl Issues - kanta8819@cadian.com - 02-23-2024

When a Winform with WPF UserControl added is displayed in an MDI window, the size cannot be changed.

Please confirm.

thank you


RE: WPF UserControl Issues - abenedik - 02-23-2024

I am sorry but I am not an expert on WinForms and this question is also not related to 3D graphics but is a general question on how to use WPF in WinForms.

I would recommend checking other sources on internet or asking question on stackoverflow.com.

If you would use WPF, then for having multi-window application I would recommend using AvalonDock (https://github.com/Dirkster99/AvalonDock?tab=readme-ov-file)


RE: WPF UserControl Issues - kanta8819@cadian.com - 02-26-2024

(02-23-2024, 10:30 AM)abenedik Wrote: I am sorry but I am not an expert on WinForms and this question is also not related to 3D graphics but is a general question on how to use WPF in WinForms.

I would recommend checking other sources on internet or asking question on stackoverflow.com.

If you would use WPF, then for having multi-window application I would recommend using AvalonDock (https://github.com/Dirkster99/AvalonDock?tab=readme-ov-file)

I thought wrong.
The problem occurred because the Dock option was given after creating the form and Show()ing it.

It was resolved by disabling the Dock option.

thank you


RE: WPF UserControl Issues - abenedik - 02-28-2024

Great!

Thank you for sharing the solution with others.