I have a windowless wpf application, whenever I set the window state as maximized it maximizes it on the primary display.
What I would like to do is have it maximize on
c# application first starts on the primary display, unless it is moved your code will work. However, if your wpf app will be moved to another display new location can be recorded and stored in a local config file. But, your app will have no borders or any other native controls so you will also have to implement the moving bit. and when your window is moved you will be able to capture the display index using SystemParameters.
Good Luck