I have two displays. I want to make a media player and I want to play video full screen on my secondary display. So I’m trying to make a media player using WPF
Here
I use the following in VS 2019:
private void MaximizeToSecondaryScreen() { this.Left = SystemParameters.VirtualScreenLeft; this.Top = SystemParameters.VirtualScreenTop; this.Height = SystemParameters.VirtualScreenHeight; this.Width = SystemParameters.VirtualScreenWidth; }