Hi @Hong ,
Thanks for reaching out.
Windows Community Toolkit unified and reorganized its packages in newer versions (v8+). All of the controls - whether for UWP/WinUI2 or for WinUI3 - now live under the CommunityToolkit.WinUI.Controls namespace even when the NuGet package name starts with CommunityToolkit.Uwp.*. This is intentional to align naming and support shared control implementations.
https://devblogs.microsoft.com/ifdef-windows/announcing-windows-community-toolkit-v8-0/
Regarding the GridSplitter you were using: in the newer toolkit versions, GridSplitter is no longer part of the old Microsoft.Toolkit.Uwp.UI.Controls or the CommunityToolkit.Uwp.Controls.Primitives package. Instead, it has been moved to its own package called “Sizers”.
https://github.com/CommunityToolkit/Windows/releases
For UWP/WinUI2 projects, you should install the CommunityToolkit.Uwp.Controls.Sizers package to get GridSplitter and related sizer controls like ContentSizer and PropertySizer.
https://www.nuget.org/packages/CommunityToolkit.Uwp.Controls.Sizers/
For WinUI3 (Windows App SDK) projects, the equivalent package is CommunityToolkit.WinUI.Controls.Sizers.
https://www.nuget.org/packages/CommunityToolkit.WinUI.Controls.Sizers/
Once you add the Sizers package, you can use the updated GridSplitter control (in the CommunityToolkit.WinUI.Controls namespace) in your XAML, and it will behave similarly - redistributing space between rows or columns in your Grid.
https://learn.microsoft.com/en-us/dotnet/communitytoolkit/windows/sizers/sizercontrols
Hope this helps! If my answer was helpful - kindly follow the instructions here so others with the same problem can benefit as well.