Examples not work on xamarin live only on emulator and sfdiagram not work on both

Hello 
Please question i tried 1 week to solve the problem and no solution 

I am using xamarin 2.5 and visual studio 2017 and yncfusion 16.0.1.24 . The number text control is working good on emulator but when deploy to xamarin live on real device it is not working and error say "  Type must be a runtime type Object (argument exception ) 

2- sfDiagram simple example Get started in website not work on emulator and xamarin live . I import all assemblirs and add namespace . Is it problem with syncfusion 16 or xamarin 2.5 . 


xaml
-----------------------------------------------------------------------------------

    xmlns:syncfusion="clr-namespace:Syncfusion.SfDiagram.XForms;assembly=Syncfusion.SfDiagram.XForms">

       
    syncfusion:SfDiagram x:Name="diagram" />
   

-------------------------------------------------------------------------------
-------------------------------------------------------------------------------




cs code
--------------------------------------------------------------------------------------

public partial class MainPage : ContentPage
{
public MainPage()
{
            InitializeComponent();

            Node Begin = AddNode("Begin", 150, 60, 120, 40, "Begin", ShapeType.Ellipse);
            Node Process = AddNode("Process", 150, 140, 120, 60, "Process", ShapeType.Rectangle);
            Node End = AddNode("End", 190, 225, 40, 40, "End", ShapeType.Ellipse);
            //Add nodes to the sfdiagram
            diagram.AddNode(Begin);
            diagram.AddNode(Process);
            diagram.AddNode(End);
            Connector connector1 = new Connector()
            {
                SourceNode = Begin,
                TargetNode = Process,
            };
            Connector connector2 = new Connector()
            {
                SourceNode = Process,
                TargetNode = End,
            };
            //Add connectors to the sfdiagram
            diagram.AddConnector(connector1);
            diagram.AddConnector(connector2);
             this.Content = diagram;
        }


        ///
        ///create the node
        ///
        public Node AddNode(string id, float offsetX, float offsetY, float width, float height, string text, ShapeType shape)
        {
            Node node = new Node();
            node.OffsetX = offsetX;
            node.OffsetY = offsetY;
            node.Height = height;
            node.Width = width;
            node.ShapeType = shape;
            node.Style.Brush = new SolidBrush(Color.FromRgb(100, 149, 237));
            node.Annotations.Add(new Annotation() { Content = text });
            return node;
        }
    }




Not Work on Emulator and XamarinLive

Please any solution for these two problems 

1 Reply

AP Arun Prasad Matheshwaran Syncfusion Team March 7, 2018 10:35 AM UTC

Hi Saimalfarra,  
  
Currently, Custom controls will not work on Xamarin Live player. It is a known issue. Please refer to the below link as someone has logged an issue report on this in BugZilla.

Xamarin live player will not support Custom renderer. So, we cannot load our controls using this. 

Ref link:- https://developer.xamarin.com/guides/cross-platform/live/limitations/#Xamarin.Forms 

Link :- https://bugzilla.xamarin.com/show_bug.cgi?id=60010   
sfDiagram simple example Get started in website not work on emulator –   
We are unable to reproduce the mentioned issue. We have attached the sample link and demonstration video for your reference.  
  
   
Please let us know if you need any further assistance,  

Thanks,  
Arun  



Loader.
Up arrow icon