To set the Window position of the contrib region adapter, you could modify the code in the
Views_CollectionChanged method of the WindowRegionAdapter class. For example:
//more code above
Window window = new Window();
window.Activated += new EventHandler(window_Activated);
window.Deactivated += new EventHandler(window_Deactivated);
window.Style = _windowStyle;
window.Content = view;
window.Closed += new EventHandler(window_Closed);
window.Owner = owner;
window.Top = 0;
window.Left = 0; //new lines: Show the window in the TopLeft corner.
// more code below
Also the Prism-v2 Reference Implementation for WPF there is a
RegionPopupBehavior which you might find useful. Specifically, the
WindowWrapper class in the StockTraderRI.Infrastructure project could allow you to set the position by editing its constructor:
this.window = new Window();
this.window.Left = 700; // new line
this.window.Top = 700; // new line
These are just some ideas, because the specific implementation may vary. Of course, in your application, this would require some calculation
possibly, to decide where to place the Window, but this is just a sample approach.
You probably will have to modify the behavior to decide where to place the view based on the application’s current UI distribution.
Please let me know if this helps.