© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago
Southwest A320

Make window only resizable in the diagonal axis

How can I make the window only resizable in the diagonal axis. I mean, I don't want the user to be able to resize the window just horizontally or vertically. If the user does click and drag at the edge of the window, it will also resize the other axis so that the window's aspect ratio is constant.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

WPF custom resizable window
C#CC# / help
2y ago
How to keyboard hook only in the application window (console)
C#CC# / help
4y ago
Make WPF clicks go to the window below.
C#CC# / help
14mo ago
✅ How do I make a window unselectable
C#CC# / help
3y ago