Migrating from Xamarin SfBadgeView to .NET MAUI SfBadgeView
To migrate easier from Xamarin SfBadgeView to .NET MAUI SfBadgeView, we kept most of the APIs from Xamarin SfBadgeView in MAUI SfBadgeView. However, some APIs have been renamed to ensure consistency with MAUI naming conventions. Below are the details of the changes from Xamarin SfBadgeView to .NET MAUI SfBadgeView.
Namespaces
Xamarin SfBadgeView | .NET MAUI SfBadgeView |
---|---|
Syncfusion.XForms.BadgeView | Syncfusion.Maui.Core |
Properties
Xamarin SfBadgeView | .NET MAUI SfBadgeView | 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 SfBadgeView | .NET MAUI SfBadgeView | 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 SfBadgeView | .NET MAUI SfBadgeView | Description |
---|---|---|
Represents the badge settings class. |