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

Is it possible to embed SfSpreadsheet in Xamarin.Forms

Is it possible to embed SfSpreadsheet in Xamarin.Forms .net standard project? We would like to use SfSpreadsheet functionality in Xamarin.Forms app when it runs on UWP (on Android and iOS we would use some placeholders about not supporting feature).
I've tried to do this by normal way, but it seems that Xamarin can't see SfSpreadsheet namespace.

    xmlns:win="clr-namespace:Syncfusion.UI.Xaml.Spreadsheet;assembly=Syncfusion.SfSpreadsheet.UWP; targetPlatform=Windows">
        <StackLayout BackgroundColor="Green">
                Text="Native Views Demo" />
            <Entry IsEnabled="{Binding IsSwitchOn}" Placeholder="This Entry is bound to the native switch" />
                On="{Binding Path=IsSwitchOn, Mode=TwoWay, UpdateSourceEventName=ValueChanged}"
                OnTintColor="{x:Static ios:UIColor.Red}"
                ThumbTintColor="{x:Static ios:UIColor.Blue}" />
                x:Arguments="{x:Static androidLocal:MainActivity.Instance}"
                Checked="{Binding Path=IsSwitchOn, Mode=TwoWay, UpdateSourceEventName=CheckedChange}"
                Text="Enable Entry?" />

            <win:SfSpreadsheet x:Name="spreadsheet" FormulaBarVisibility="Visible" />

Thanks in advance

1 Reply

DY Deivaselvan Y Syncfusion Team April 10, 2019 01:40 PM UTC

Hi Przemyslaw,

Thank you for contacting Syncfusion support.

Your requirement to use SfSpreadsheet functionality in Xamarin.Forms app is not feasible to achieve; hence it is not possible to use custom controls in PCL project. We regret for the inconvenience caused.


Live Chat Icon For mobile
Up arrow icon