You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide a splitter control to enable resizing multiple panes. It should be flexible and must work well with different kinds of layout panels such as Grid, SplitView etc...
Summary
Many apps tend to have layouts with multiple panes that can be resized by the user if they want to see more content in a pane. Today WinUI doesn't provide anything for that so the developer must create their own. Windows Community Toolkit has a GridSplitter control however I believe it only resizing between rows or columns in a Grid and doesn't work with other layout panels which isn't ideal. Also, WCT means it can be used only by Windows apps written in C# or Microsoft Visual Basic and not all Windows apps.
Rationale
Commonly used functionality should be built into the framework.
Scope
Capability
Priority
This proposal will allow developers to make their multi-pane layout resizable
Must
Reacted by FireCubeStudios, Tropical, groovykool, Luke Blevins, Diego Pierangeli, Niels Laute, Manfredi Marceca, Mahdi Hosseini, Poopooracoocoo, Winston de Jong and 6 more
Reacted by FireCubeStudios, Tropical and Niels Laute
Reacted by FireCubeStudios, Tropical and Niels Laute
This should be very important for C++/WinRT, so I must use something like the code below. I have to say that there are a lot of controls which cannot use because the community toolkit is only for C#.
But for some reason, it doesn’t work properly, and I have no idea why... 😢
I’m a beginner, could someone please help me?
Activity
FireCubeStudios commentedon Jul 2, 2021
yes
xy-app commentedon Jul 3, 2021
I think this control is very important
michael-hawker commentedon Mar 28, 2025
Not sure how I wasn't tracking this one, but for context in WCT 8.0 we reworked GridSplitter and created a base class to enable two other modes of operations as well for better generalization and enable things like resizing NavigationView. Blog post here: https://devblogs.microsoft.com/ifdef-windows/announcing-windows-community-toolkit-v8-0/#sizers
GridSplitter itself is also a WPF polyfill.
tpoint75 commentedon Apr 2, 2025
Windows Community Toolkit is c# only and therefore not a solution.
hoshiizumiya commentedon Sep 24, 2025
This should be very important for C++/WinRT, so I must use something like the code below. I have to say that there are a lot of controls which cannot use because the community toolkit is only for C#.
But for some reason, it doesn’t work properly, and I have no idea why... 😢
I’m a beginner, could someone please help me?
lgztx96 commentedon Nov 2, 2025
If someone wants to use similar controls in C++, you can check out my repository: https://github.com/lgztx96/CommunityToolkit.WinUI. It ports most of the Community Toolkit controls to C++.
hoshiizumiya commentedon Nov 2, 2025
lgztx96 Thank you for your work🫡, and welcome to join us at qq:479734355。https://github.com/HO-COOH/WinUIEssentials。This is a samilar work for winui3cppwinrt
lgztx96 commentedon Nov 3, 2025