Syncfusion WinUI DataGrid , doesm't work in .net10 and winui 3 yet right?

Hi
I am creatingg a new WinUI system, so I Try to add the  Syncfusion WinUI DataGrid, but it crashes, I do  set the licenenssing key int he  App.xaml.cs  

public App()

{

    SyncfusionLicenseProvider.RegisterLicense("myKey");

    this.InitializeComponent();
...........
}
but when I Get into the Page it  and try to InitializeComponent ()  .  crashes!!!

Microsoft.UI.Xaml.Markup.XamlParseException

  HResult=0x802B000A

  Message=No se pudo encontrar el texto asociado a este código de error.


Cannot create instance of type 'Syncfusion.UI.Xaml.DataGrid.SfDataGrid' [Line: 78 Position: 17]

  Source=WinRT.Runtime

  StackTrace:

   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32 hr)

   at ABI.Microsoft.UI.Xaml.IApplicationStaticsMethods.LoadComponent(IObjectReference _obj, Object component, Uri resourceLocator, ComponentResourceLocation componentResourceLocation)

   at Microsoft.UI.Xaml.Application.LoadComponent(Object component, Uri resourceLocator, ComponentResourceLocation componentResourceLocation)

   at CPD.OnLine.Views.PersonasPage.InitializeComponent() in C:\Programas.Net\CPD2\CPD.OnLine\CPD.OnLine\obj\x64\Debug\net10.0-windows10.0.19041.0\Views\PersonasPage.g.i.cs:line 39

   at CPD.OnLine.Views.PersonasPage..ctor(PersonasViewModel viewModel) in C:\Programas.Net\CPD2\CPD.OnLine\CPD.OnLine\Views\PersonasPage.xaml.cs:line 32


Exception thrown: 'System.InvalidOperationException' in WinRT.Runtime.dll

Exception thrown: 'System.TypeInitializationException' in Syncfusion.Grid.WinUI.dll

Exception thrown: 'Microsoft.UI.Xaml.Markup.XamlParseException' in WinRT.Runtime.dll

Copilot says that there is no support for .net10 and WinUI , is that correct?

thnks


1 Reply

SR Senthilkumar Ranganathan Syncfusion Team January 9, 2026 01:48 PM UTC

Hi Sergio Tardio,

We understand the situation you are facing. Based on the details you provided, we have checked the scenario on our side. However, we were unable to replicate the reported scenario.

We have support for .NET 10, and we were able to create a sample in WinUI with .NET 10 using the DataGrid control. We have attached the sample and a sample creation video for your reference.

If you are still facing the issue, please share the following details:
  • Could you please share the details of how are you creating the sample on your end?
  • Could you confirm whether the NuGet package is installed correctly and the namespace has been added properly in MainWindow.xaml?
  • Based on the call stack, we noticed that the error is occurring in the PersonasViewModel constructor. Could you please share the code you have implemented in the constructor?
  • If possible, kindly modify the provided sample or share your sample project for further investigation of the reported scenario.
This information will allow us to replicate the issue accurately and assist you further.

Regards,
Senthilkumar Ranganathan.

Attachment: SampleVideoReference_b3f3ff02.zip

Loader.
Up arrow icon