windowstate
How to 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?[详细]
2023-03-27 03:00 分类:问答C#: capture windowstate changes of another application (wrote in c/c++ i think)
I have a situation where I need to c开发者_如何学Capture windowstate changes of another window (which is not owned by my application and I didn\'t wrote it. I think it\'s written in C++).[详细]
2023-03-13 08:31 分类:问答lineNumbersCanvas.Width Causing Exception When WindowState=Maximized
Getting a strange error, when I set my WindowState = Maximized (works fine If I set it to Normal and then full screen!!). Debug gives me a nasty exception and was hoping to get some pointers here.[详细]
2023-02-08 10:11 分类:问答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 window by a command, but the first time I minimize the window it minimizes like a worksheet d[详细]
2023-02-04 20:24 分类:问答Checking the value of the window's "WindowState" in a Trigger
In WPF, is there a way to check the window\'s \"WindowState\" property in a Trigger?I\'ve tried using the value of \"0\", \"Minimized\" and \"WindowState.Minimized.\"[详细]
2023-02-04 09:02 分类:问答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 I open that form from an MDI container, it doesn\'t open in Maximized state. Why is this happening and how[详细]
2023-01-15 05:54 分类:问答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 of the screen that contains the mouse cursor.[详细]
2023-01-04 23:51 分类:问答A program in C# to tell whether opened applications are in maximized mode or not
I would like to know whether any libraries a开发者_StackOverflow社区re available in Windows OS which allows us to capture other applications window statesUse PInvoke to call GetWindowPlacement.[详细]
2022-12-31 08:18 分类:问答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 I\'m using:[详细]
2022-12-25 21:54 分类:问答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 can\'t seem to bring the window to the foreground if it was in a minimized state wh[详细]
2022-12-22 14:58 分类:问答