I am trying to create a signaturepad for cross platform and I cannot get IsEnabled to work for UWP. It is working for Android. I have even tried to hard code it to "False" and it still doesnt work. I am using Xamarin.Controls.SignaturePad.Forms 3.0. Below is my xaml. SignatureEnabled variable has OnPropertyChange set for it too. But again the hard coding doesnt even work in UWP. Please help.
<forms:SignaturePadView Grid.Column="1" x:Name="signatureView" IsVisible="{Binding SignatureVisible}" HorizontalOptions="FillAndExpand" StrokeColor="Black" BackgroundColor="White" StrokeWidth="3" HeightRequest="300" IsEnabled="{Binding SignatureEnabled}" />
Answers
It seems the bug has been fixed in the plugin
SignaturePad
notSignaturePad.Forms
.Check the issue : https://github.com/xamarin/SignaturePad/issues/94
Code changes: https://github.com/xamarin/SignaturePad/commit/928e01b3768914d01a6e031c8afc9b960ee90e67
Release note : https://github.com/xamarin/SignaturePad/releases/tag/v3.0
It is fixed on version 3.0.0 , but it can be only used on specific platform , not on Forms . I saw you raised issue :https://github.com/xamarin/SignaturePad/issues/179 , you can try to send a PR for it .
Thank you. I will try to raise a PR for the SignaturePad.Forms fix.