Top "Windowstate" questions

How can I make a WPF window maximized on the screen with the mouse cursor?

According to the MSDN documentation for the WindowStartupLocation Property: Setting CenterScreen causes a window to be positioned in the center …

.net wpf multiple-monitors maximize windowstate
WPF : Maximize window with WindowState Problem (application will hide windows taskbar)

I have set my main window state to "Maximized" but the problem is my application will fill the whole screen …

wpf window windowstate
How to change window state of Form, on a different thread?

Does anyone know how I can change the window state of a form, from another thread? This is the code …

c# winforms process windowstate
How do I trigger something whenever the WindowState changes in C#?

So I want to instantly, as this portion of the program relies on speed, trigger a function when the windowstate …

c# windowstate
Windows MDI child form doesnt open in WIndowMaximized state

I have set a form as a child of an MDI form which has its WindowState set to Maximized. When …

c# mdichild windowstate
Binding the "WindowState" property of a window in WPF using MVVM

I bound the "WindowState" property of my main window to my ViewModel in order to change the state of the …

wpf mvvm minimize windowstate
Setting WindowState to Maximized causes window to appear too early

I read that the Load event is supposed to be fired after the window handle has been created, but before …

c# .net winforms resize windowstate
WPF: Window stays minimized even when setting WindowState explicitly

My application has a tray icon which, when double-clicked, hides or shows the application window. My issue is that I …

wpf restore windowstate minimized