SF SignaturePad Validation

Is there any way to validate signature pad signed or not 

1 Reply 1 reply marked as answer

SS Suganya Sethuraman Syncfusion Team May 20, 2021 09:17 AM UTC

Hi Shahid,

Greetings from Syncfusion.


We have analyzed your query and currently we don't have direct support. We can workaround to achieve your requirement by checking ImageSource property of SfSignaturePad control as like below code snippet.


XAML:

 
<signature:SfSignaturePad   x:Name="signature"  
                                      HeightRequest="250"/>  

C#: 
  void Button_Clicked(System.Object sender, System.EventArgs e)  
         
            signature.Save();  
  
            if (signature.ImageSource != null)  
             
                DisplayAlert("Signed or not", "You have signed", "Ok");  
             
            else  
             
                DisplayAlert("Signed or not", "You have not signed", "Ok");  
             
        }  

We have created sample based on this and please find the sample from below.

Sample:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/SignaturePadSample787953805


Please let us know if you have any other queries.

Regards,
Suganya Sethuraman.
 



Marked as answer
Loader.
Up arrow icon