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
{{ message }}
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
How can I use datagrid control in WinUI c++? #4781
However, we haven't attempted to migrate or try this scenario out yet on the Windows App SDK. A similar approach would theoretically be possible, but in either case, there's aren't really well supported scenarios.
It'd be good to upvote and comment on the DataGrid issue on the WinUI repo to let them know you need this scenario for C++ as well here: microsoft/microsoft-ui-xaml#1500
Activity
michael-hawker commentedon Oct 4, 2022
@Endt4sk the Toolkit controls aren't built for consumption by C++. Are you using UWP or the Windows App SDK at the moment? (WinUI is a bit ambiguous).
If you're using UWP, we have an example we put together here on how to create a C#/WinRT component to host a Toolkit component for consumption by a C++/WinRT app: https://github.com/CommunityToolkit/Sample-Windows-CppWinRT
However, we haven't attempted to migrate or try this scenario out yet on the Windows App SDK. A similar approach would theoretically be possible, but in either case, there's aren't really well supported scenarios.
It'd be good to upvote and comment on the DataGrid issue on the WinUI repo to let them know you need this scenario for C++ as well here: microsoft/microsoft-ui-xaml#1500