Migration from Xamarin Badge View to .NET MAUI Badge View

18 Nov 20181 minute to read

To migrate easier from Xamarin Badge View to .NET MAUI Badge View, we kept most of the APIs from Xamarin Badge View in .NET MAUI Badge View. However, some APIs have been renamed to ensure consistency with MAUI naming conventions. Below are the details of the changes from Xamarin Badge View to .NET MAUI Badge View.

Namespaces

Xamarin Badge View .NET MAUI Badge View
Syncfusion.XForms.BadgeView Syncfusion.Maui.Core

Properties

Xamarin Badge View .NET MAUI Badge View Description

BadgeAnimation

Animation

Gets or sets the animation that should be used when the badge is shown.

BackgroundColor

Background

Gets or sets the background for the badge.

StrokeWidth

StrokeThickness

Gets or sets the stroke thickness for the badge.

BadgeIcon

Icon

Gets or sets the Icon to be displayed in the badge.

BadgePosition

Position

Gets or sets the position where the badge will be shown relative to the Content.

BadgeType

Type

Gets or sets the type of the badge.

Enums

Enum Xamarin Badge View .NET MAUI Badge View Description
BadgePosition BottomLeft,
BottomRight,
TopLeft,
TopRight
Bottom,
BottomLeft,
BottomRight,
Left,
Right,
Top,
TopLeft,
TopRight
Defines the position of the badge over the Badge View control.

Classes

Xamarin Badge View .NET MAUI Badge View Description

BadgeSetting

BadgeSettings

Represents the badge settings class.