I have a simple question really but I can't seem to find it. I am using WPF and I am creating a child window (Class Window) which displays a simple view. Now I can move the window around however what I would want is that it cannot move OUTSIDE the main window. (I think the Popup control has that behavior if I am not mistaking). Any easy way I can do that ?
Let me know if this isn't clear.
Thanks in advance.
Kind regards, Qwin
Made you parent window as owner of child window and adjust the location