Migrate from Xamarin Signature Pad to .NET MAUI Signature Pad

18 Nov 20181 minute to read

To migrate from the Xamarin Signature Pad to .NET MAUI Signature Pad easier, most of the APIs from the Xamarin Signature Pad were kept in the .NET MAUI Signature Pad. However, to maintain the consistency of API naming in the.NET MAUI Signature Pad, some of the APIs have been renamed. Please find the difference in the following topics.

Namespaces

Xamarin Signature Pad .NET MAUI Signature Pad
Syncfusion.XForms.SignaturePad Syncfusion.Maui.SignaturePad

Properties

Xamarin Signature Pad .NET MAUI Signature Pad Description

StrokeColor

StrokeColor

Gets or sets the stroke color of the signature.

MinimumStrokeWidth

MinimumStrokeThickness

Gets or sets the minimum stroke thickness of the signature.

MaximumStrokeWidth

MaximumStrokeThickness

Gets or sets the maximum stroke thickness of the signature.

Methods

Xamarin Signature Pad .NET MAUI Signature Pad Description

Save

ToImageSource

Gets the drawn signature in the SfSignaturePad as an image.

Clear

Clear

Clears the drawn signature in the SfSignaturePad.

Events

Xamarin Signature Pad .NET MAUI Signature Pad Description

StrokeStarted

DrawStarted

Occurs when a drawing is started in the SfSignaturePad.

StrokeCompleted

DrawCompleted

Occurs when the drawing is completed in the SfSignaturePad.