You can use controls like GridSplitter, PropertySizer, ... from the Windows Community Toolkit
Resizable UI Elements/containers in WinUI3
Shyam Butani
235
Reputation points
Hi,
I am working on WinUI3 application, and doing everything programmatically (without XAML).
When we create a window, we can click+drag the border/corner using mouse to resize it. I want similar thing for my UI elements inside window. Basically, I want user to be able to resize the box/table/element on the screen by stretching border using mouse.
Can you please suggest some containers or UI elements that allow us to do that? It would be more helpful if you can point to some examples.
Thanks.