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 |
|---|---|---|
| Gets or sets the animation that should be used when the badge is shown. | ||
| Gets or sets the background for the badge. | ||
| Gets or sets the stroke thickness for the badge. | ||
| Gets or sets the Icon to be displayed in the badge. | ||
| Gets or sets the position where the badge will be shown relative to the Content. | ||
| 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 |
|---|---|---|
| Represents the badge settings class. |