Using the Syncfusion WPF SfDataGrid with F#

After adding the Syncfusion SfDataGrid to an F# WPF window I got a XamlParseException “Cannot create unknown type ‘{http://schemas.syncfusion.com/wpf}SfDataGrid” at runtime. I was able to resolve the error on my main window by changing the namespace from the one in the error message to:

xmlns:sync=”clr-namespace:Syncfusion.UI.Xaml.Grid;assembly=Syncfusion.SfGrid.WPF”

I found that version of the namespace here.

Once I made the change to the main window, child windows containing the grid could use the default namespace reference without a runtime error.

I’d also like to praise Syncfusion for creating the Community License that is an awesome benefit to small businesses!

Leave a Reply