I am unable to centre a child dialog window of type RadWindow. I create the window as following:
NewGoalWindow view =
view.WindowStartupLocation = WindowStartupLocation.CenterOwner;
view.Owner = WindowHelper.MainWindow;
NewGoalViewModel model =
view.DataContext = model;
The window is always located in the top left corder. WindowHelper.MainWindow
is a reference to a RadWindow, which I have checked is the main window of the application.
I need help. Am I overlooking something?