.net - WPF window in front of Taskbar (using dual monitor), how can I do it? -


I am trying to create a double monitor app. Therefore, I get this goal from the following code:

  var myWindow = new MyWindow (); Var are working Area = System Windows .form. Screen. All Sequences [selected monitors] Working Area; MyWindow.Top = are working. Top; MyWindow.Left = Working; the lift; MyWindow.Height = are working. height; MyWindow.Width = Kakajiyyara; MyWindow.Show ();   

If I pass selected monitor value 1, then the app is opened in another monitor, everything is fine, but when I pass the value to 0 So, the app is opened in the first monitor, but the windows taskbar is in front of the app.

How do I put myWindow in front of the taskbar?

To set the maximum to WindowState to maximize , or manually resize it, it will be in front of the taskbar if you want the titlebar and whatnot I am not sure what you can do.

In addition, the area does not include the area on the title bar. Docks specifically say that it is not included in it, then you do not want that you might just want to either.

Comments