# .NET MAUI SignaturePad Commands

SignaturePad exposes a `ClearCommand`(`ICommand`) for clearing the signature.

```XAML
<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 `telerik` namespace:

```XAML
xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui"
```

## See Also

* [Signature Configuration](https://www.telerik.com/maui-ui/documentation/controls/signaturepad/configuration)
* [Events](https://www.telerik.com/maui-ui/documentation/controls/signaturepad/events)
* [Saving Options](https://www.telerik.com/maui-ui/documentation/controls/signaturepad/saving-options)
