Howto pass WindowState from desktop shortcut into WPF app?
How can I control the initial WindowState (Normal, Minimized, Maximized) of a WPF main window from a desktop shortcut?

The "Run:" combobox of the shortcut's properties dialog let's me choose between  "Normal window", "Minimized" and "Maximized". But this option seems to be completely ignored by WPF apps. With WinForms this was automatically supported with no additional code.

Is there a way to access this option from the launched WPF process? I know I can specify the ProcessStartInfo.WindowStyle property when launching new processes. But how can I access this option from the process being launched?
Howto pass WindowState from desktop shortcut into WPF app?
===

How can I control the initial WindowState (Normal, Minimized, Maximized) of a WPF main window from a desktop shortcut?

The "Run:" combobox of the shortcut's properties dialog let's me choose between  "Normal window", "Minimized" and "Maximized". But this option seems to be completely ignored by WPF apps. With WinForms this was automatically supported with no additional code.

Is there a way to access this option from the launched WPF process? I know I can specify the ProcessStartInfo.WindowStyle property when launching new processes. But how can I access this option from the process being launched?