Migrate from Xamarin.Forms SfChat to .NET MAUI SfChat

19 Mar 20241 minute to read

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

Namespaces

Xamarin SfChat .NET MAUI SfChat
Syncfusion.XForms.SfChat Syncfusion.Maui.Chat

Properties

Xamarin SfChat .NET MAUI SfChat Description

IsBusy

IsLazyLoading

Gets or sets a value indicating if the chat is currently loading more items. If it is true, the load indicator will be displayed until it is set to false.

LeftSwipeViewTemplate

StartSwipeTemplate

Gets or sets the template shown when a user swipes an item to the right.

RightSwipeViewTemplate

EndSwipeTemplate

Gets or sets the template shown when a user swipes an item to the left.

NOTE

To know about the available built-in keys used to customize styles, check here for more details.