Migrating from Xamarin SfAvatarView to .NET MAUI SfAvatarView

19 May 20251 minute to read

To ease the migration from Xamarin SfAvatarView to .NET MAUI SfAvatarView, most APIs from the Xamarin version have been retained in the MAUI SfAvatarView. However, to ensure consistency in API naming within the MAUI environment, some APIs have been renamed. The changes in MAUI SfAvatarView from Xamarin SfAvatarView are detailed below.

Namespaces

Xamarin SfAvatarView .NET MAUI SfAvatarView
Syncfusion.XForms.AvatarView Syncfusion.Maui.Core

Properties

Xamarin SfAvatarView .NET MAUI SfAvatarView Description
BorderColor Stroke Gets or sets the stroke of the Avatar View
BorderWidth StrokeThickness Gets or sets the thickness of the Avatar View stroke