We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Using Xamarin.Forms SfDataGrid in WPF-Project

Thread ID:





148769 Nov 3,2019 04:10 PM UTC Nov 6,2019 05:35 AM UTC Xamarin.Forms 3
Tags: SfDataGrid
Asked On November 3, 2019 04:10 PM UTC

Hello Support,

I have built a custom component which includes Your "SfDataGrid" in the .NetStandard 2.0 class library of a Xamarin.Forms project. With all the mentioned things in Your documentation it works perfectly under "iOS", "UWP" and "Android". Since there is the possibility to use Xamarin.Forms also together with WPF I am trying now to make it work there either. But when starting the application it crashes as soon as I try to get to the ContentPage where the component is placed in. I get the following error message: "System.ArgumentException: Breite und Höhe dürfen keine negative Zahl sein." [Width and height mustn't a negative number] You can find a screenshot of the message attached.

Are there any special settings I have to look out for? Is it already supported for WPF? Or may I have to use the specific "SfGrid.WPF" not beeing able to work with my non platform specific component I wrote?

Project information (.NetStandard 2.0):
- Syncfusion.Xamarin.SfListView (
- Syncfusion.Xamarin.SfAutoComplete (
- Syncfusion.Licensing (
- Syncfusion.Xamarin.SfDataGrid (
- Xamarin.Forms (

Project information (WPF):
- Syncfusion.Licensing (
- Syncfusion.Xamarin.Compression (
- Syncfusion.Xamarin.Core (
- Syncfusion.Xamarin.DataGridExport (
- Syncfusion.Xamarin.GridCommon (
- Syncfusion.Xamarin.Pdf (
- Syncfusion.Xamarin.SfCombobox (
- Syncfusion.Xamarin.SfDataGrid (
- Syncfusion.Xamarin.SfNumericTextBox (
- Syncfusion.Xamarin.SfPicker (
- Syncfusion.Xamarin.XlsIO (
- Xamarin.Forms (
- Xamarin.Forms.Platform.WPF (

Would be glad to hear from You soon. If there are any further information needed, feel free to contact me.

Kind regards,


Attachment: 2019_11_SfDataGrid_Error_WPF_573a1387.rar

Balasubramani Sundaram [Syncfusion]
Replied On November 4, 2019 01:28 PM UTC

Hi Julian,  
Thank you for contacting Syncfusion support.   
In mentioned controls, for SfListView already we have provided the WPF Support and in SfDataGrid we have already logged a feature request for the WPF support and in SfAutoComplete still not yet planned to provide the support. 
Please refer the below link. 
We have logged a feature request “WPF platform support for Xamarin.Forms DataGrid” for the same and we will implement this feature in any of our upcoming releases.    
At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest. We will let you know when this feature is implemented. We appreciate your patience until then.   
Thank you for requesting this feature and helping us define it. We are always trying to make our products better and feature requests like yours are a key part of our product growth efforts.   
You can also communicate with us regarding the open features any time using our Feature Report page.    
Note: The provided feedback link is private, and you need to login to view this feedback.  
If you have any more specification/suggestions to the feature request, you can add it as a comment in the portal and cast your vote to make it count.  
Balasubramani Sundaram. 

Replied On November 5, 2019 08:29 PM UTC

Hi Balasubramani Sundaram,

thanks for the fast and informative response :)

I will keep my eyes open for any updates on this topic.

Kind regards,


Farjana Parveen Ayubb [Syncfusion]
Replied On November 6, 2019 05:35 AM UTC

Hi Julian, 
Thank you for your update. 
As we promised earlier we will implement your requested feature “WPF platform support for Xamarin.Forms DataGrid” in any of our upcoming releases. We will let you know once it will implement and roll out. 
We appreciate your patience until then. 
Farjana Parveen A 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon