Migrate from Xamarin.Forms SfPullToRefresh to .NET MAUI SfPullToRefresh

28 Dec 20231 minute to read

To migrate easier from Xamarin.Forms SfPullToRefresh to .NET MAUI SfPullToRefresh, we kept most of the APIs from Xamarin SfPullToRefresh in .NET MAUI SfPullToRefresh. However, to maintain the consistency of API naming in .NET MAUI SfPullToRefresh, we renamed some of the APIs. The APIs that have been changed in .NET MAUI SfPullToRefresh from Xamarin SfPullToRefresh are detailed as follows.

Namespaces

Xamarin SfPullToRefresh .NET .NET MAUI SfPullToRefresh
Syncfusion.SfPullToRefresh.XForms Syncfusion.Maui.PullToRefresh

Properties

Xamarin SfPullToRefresh .NET MAUI SfPullToRefresh Description

ProgressStrokeColor

ProgressColor

Gets or sets the progress stroke color of SfPullToRefresh.

ProgressBackgroundColor

ProgressBackground

Gets or sets the progress background color of SfPullToRefresh.

ProgressStrokeWidth

ProgressThickness

Gets or sets the progress indicator stroke width.

RefreshContentHeight

RefreshViewHeight

Gets or sets the value for the refresh content height.

RefreshContentWidth

RefreshViewWidth

Gets or sets the value for the refresh content width.

RefreshContentThreshold

RefreshViewThreshold

Gets or sets the refresh content threshold value that indicates progress indicator starting position in view.

Enums

Xamarin SfPullToRefresh .NET MAUI SfPullToRefresh Description

TransitionType

PullToRefreshTransitionType

Defines type of pulling animation can be perfomed.