Commands
SignaturePad exposes a ClearCommand
(ICommand
) for clearing the signature.
<Grid RowDefinitions="Auto,*">
<Button Text="Clear the signature"
Command="{Binding ClearCommand, Source={x:Reference signaturePad}}"/>
<telerikInput:RadSignaturePad x:Name="signaturePad"
Grid.Row="1"
BorderThickness="1"
BorderColor="LightGray" />
</Grid>
Add the namespace:
xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"