Control not rendering in UWP and iOS

I followed the documentation. Unfortunately, I am getting the following Strack trace for UWP. Can you please help me?

   at Syncfusion.SfDiagram.XForms.UWP.DiagramDependencyService.SfDiagramDependencyServices_ItemAdded(Object sender, ItemAddedEventArgs args)
   at Syncfusion.UI.Xaml.Diagram.SfDiagramWrapper.OnItemAdded(ItemAddedEventArgs args)
   at Syncfusion.UI.Xaml.Diagram.AddRemoveUtility.InvokeEvent(PasteCommandInfo source, IInternalGroupable element, ItemSource itemSource, Boolean isAdd)
   at Syncfusion.UI.Xaml.Diagram.AddRemoveUtility.InternalNodes_Added(CollectionArgs`1 newElement)
   at Syncfusion.UI.Xaml.Diagram.ObservableElements`2.Add(TWrap item, ItemSource source, Boolean isEventRaise, PasteCommandInfo CommandInfo)
   at Syncfusion.UI.Xaml.Diagram.ObservableElements`2.source_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item)
   at System.Collections.ObjectModel.Collection`1.Add(T item)
   at Syncfusion.SfDiagram.XForms.UWP.SfDiagramMapping.Nodes_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
   at Syncfusion.SfDiagram.XForms.NodeCollection.OnNodes_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
   at Syncfusion.SfDiagram.XForms.NodeCollection.Add(Node node)
   at Syncfusion.SfDiagram.XForms.DataSourceSettings.UpdateLayoutDataSource()
   at Syncfusion.SfDiagram.XForms.SfDiagram.OnDataSourceSettingsChanged(BindableObject bindable, Object oldValue, Object newValue)
   at Xamarin.Forms.BindableObject.SetValueActual(BindableProperty property, BindablePropertyContext context, Object value, Boolean currentlyApplying, SetValueFlags attributes, Boolean silent)
   at Xamarin.Forms.BindableObject.SetValueCore(BindableProperty property, Object value, SetValueFlags attributes, SetValuePrivateFlags privateAttributes)
   at Xamarin.Forms.BindableObject.SetValue(BindableProperty property, Object value, Boolean fromStyle, Boolean checkAccess)
   at Syncfusion.SfDiagram.XForms.SfDiagram.set_DataSourceSettings(DataSourceSettings value)
   at West.EnterpriseUX.Views.ProfileDeatilsPage.<SetDataSourceForDiagram>d__6.MoveNext() in C:\Users\pathanm\Source\Repos\EnterpriseUX\West.EnterpriseUX\Views\Profile\ProfileDetailsPage.xaml.cs:line 71

1 Reply

DS Devaraj Sekar Syncfusion Team February 18, 2020 12:03 PM UTC

Hi Mosin, 
 
Thank you for contacting Syncfusion support. 
 
The mentioned issue “SfDiagram layout rendering issue in UWP” works as expected from our side. We have prepared a sample based on the mentioned information, which can be downloaded from the below link. 
 
 
Kindly confirm us whether the mentioned issue reproduces in the provided sample and also let us know if you require any further assistance. 
 
(Note: Diagram supports drag and drop in Xamarin.Forms.Android and Xamarin.Forms.iOS alone. This information has been mentioned in our UG documentation page) 
 
Regards, 
Devaraj S 



Loader.
Up arrow icon