Forum Xamarin.Forms

Need help with Signature Pad for Xamarin forms

Hey guys,
I have used the signature pad component(nuget) [] for XForms. The github sample: consists of multiple shared projects in the same solution. I find this a little confusing as I'm new to Xamarin. I'd also like it if someone can suggest an easy way to use the package. I don't want to add too many projects to my solution.

I have also tried this sample: [] . They use custom renders to get a signature pad. I tried using this as well. Kept coming up with build or compile errors when i recreate it in my solution.
Any help is appreciated.

Best Answers


  • thewannabedeveloperthewannabedeveloper INMember ✭✭
    Thanks for your reply @mattleibow . I'll get back to you as soon as I've tried the new v2.0 release.
  • StacyMahnke.2763StacyMahnke.2763 USMember ✭✭

    Any idea how to get this to work in Windows Phone 8.1? I get errors that XF can't cast the signaturepad to an iRegisterable. It sounds to me almost like the SignaturePad is not compatible with Windows Phone 8.1. Can you confirm this? or if it is compatible, can you point me in the right direction to how to make it work? I have tried custom renderers and that does not work. I'm currently trying to use a custom control but lots of things to still figure out with this.

  • mattleibowmattleibow ZAXamarin Team Xamurai

    @StacyMahnke.2763 is this Window Phone 8.1 (Silverlight) or Windows Runtime?

  • StacyMahnke.2763StacyMahnke.2763 USMember ✭✭

    @mattleibow This would be Windows Phone 8.1 Runtime.

    I've got somewhat of a work-around. I can at least draw on a canvas now. I achieved this by using a custom SignaturePadCanvasViewRenderer and then utilizing a Windows.UI.Xaml.Control.Canvas along with a Rectangle and Pointers. However, it won't ink over the "Sign Here" line in the SignaturePad.Forms.SignaturePadView and I'm struggling to determine how to tie into the Clear and Save events.

  • mattleibowmattleibow ZAXamarin Team Xamurai

    I will have a look at this. That platform should be supported.

    Could you open an issue and attach your stack trace?

  • mattleibowmattleibow ZAXamarin Team Xamurai

    @StacyMahnke.2763 I just had a look at SignaturePad... and there is no WinRT (Phone/Desktop) support. I will try and get this in ASAP.

  • StacyMahnke.2763StacyMahnke.2763 USMember ✭✭

    @mattleibow Thank you so much! This will be a life saver.

  • mattleibowmattleibow ZAXamarin Team Xamurai
    Accepted Answer

    @StacyMahnke.2763 I just wanted to update you with progress and point you in the direction of issues and PRs:

    This is the main issue for tracking the support:
    This is the PR that I am working on right now:

    At this time, I think the basic native control is working, but I haven't implemented the logic to get a bitmap or the bitmap stream just yet. Will do that next.

    As soon as the native bit is working, it should be very easy to get the Xamarin.Forms renderers up. Right now, I am working on the winrt-support branch just in case you want to try things out:

  • StacyMahnke.2763StacyMahnke.2763 USMember ✭✭

    @mattleibow Good Morning, Matt. I have been following your progress on this. I see your notes about version 2.1 being committed. Would you know what the release schedule is it to be on Nuget? I have checked pre-release and it isn't listed. I also tried installing it directly using the install-packages command and the version 2.1.0 but no luck. I am very eager to get my hands on it and start testing it :) I truly appreciate the quick turn-around you did on this.

  • mattleibowmattleibow ZAXamarin Team Xamurai

    I just pushed out the update. Just open an issue if there are problems, or if you think there needs to be some adjustment.

  • thewannabedeveloperthewannabedeveloper INMember ✭✭
    edited June 2017

    @matteibow Thank you so much for the update. Finally we have something that we can work with. :wink:
    Nuget Link:

  • mattleibowmattleibow ZAXamarin Team Xamurai

    Great! Thanks for the link - I didn't think to add it.

  • StacyMahnke.2763StacyMahnke.2763 USMember ✭✭

    @mattleibow Just wanted to say thank you again! I've been testing it and working with it and it all works. Just a note to anyone else that stumbles on this, if the image saves but doesn't show up..... make sure your not doing what I did (trying to display a signature created in black text on a black background lol)

Sign In or Register to comment.