Is there a simple way to cause a (full screen) WPF app to launch on a secondary display? I know I could get the entire virtual desktop rectangle and calculate an offset, but is there a more direct way?
AFAIK there is currently no way to do this purely with WPF.
However you should be able to:
Use the System.Windows.Forms.Screen
class to get information about the screen(s)
Reposition your window:
Application.Current.MainWindow.Left = xxx;
Application.Current.MainWindow.Top = yyy;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With