I want to prevent my desktop application from being maximized. It should not become maximized by any means - by double clicking on title bar, or by clicking Windows + Up arr
One thing you can do is set the MaximumSize and MinimumSize in the same value but not 0,0.