.NET MAUI SignaturePad Commands
SignaturePad exposes a ClearCommand
(ICommand
) for clearing the signature.
<Grid RowDefinitions="Auto,*" RowSpacing="10">
<Button Text="Clear the signature"
Command="{Binding ClearCommand, Source={x:Reference signaturePad}}"/>
<telerik:RadSignaturePad x:Name="signaturePad"
Grid.Row="1"
BorderThickness="1"
BorderColor="LightGray" />
</Grid>
Add the namespace: