79726436

Date: 2025-08-05 17:16:10
Score: 0.5
Natty:
Report link

When dealing with windows, the WindowState.Maximized will override any manual positioning (.Left and .Top) and also any setting related to the dimensions of the window (.Width and .Height). .Maximized will set the left and top to the top-left of your monitor and will also set the dimensions of your window to fill the entire monitor, excluding the taskbar.

So, if you want to manually position a window, you must use WindowState.Normal.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: vmHernandes