Migrate from Xamarin.Forms Radial Menu to .NET MAUI Radial Menu Control
21 May 20252 minutes to read
To simplify the migration from the Xamarin SfRadialMenu Control to the .NET MAUI SfRadialMenu Control, most of the APIs from the Xamarin SfRadialMenu Control
have been retained in the .NET MAUI SfRadialMenu Control
. However, to maintain the consistency in API naming within the .NET MAUI SfRadialMenu Control
, some APIs have been renamed. The following sections outline the differences.
Namespaces
Xamarin SfRadialMenu control | .NET MAUI SfRadialMenu control |
---|---|
Syncfusion.Xamarin.RadialMenu | Syncfusion.Maui.RadialMenu |
Initialize control
To initialize the control, import the Radial Menu control namespace and initialize the SfRadialMenu as shown in the following code sample.
Xamarin |
---|
|
.NET MAUI |
|
Properties
SfRadialMenu control
Xamarin SfRadialMenu control | .NET MAUI SfRadialMenu control | Description |
---|---|---|
[CenterButtonBorderColor](https://help.syncfusion.com/cr/xamarin/Syncfusion.SfRadialMenu.XForms.SfRadialMenu.html#Syncfusion_SfRadialMenu_XForms_SfRadialMenu_CenterButtonBorderColor) | [CenterButtonStroke](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.RadialMenu.SfRadialMenu.html#Syncfusion_Maui_RadialMenu_SfRadialMenu_CenterButtonStroke) | Gets or sets a value of the stroke brush for the center button's stroke in the SfRadialMenu. |
[CenterButtonBorderThickness](https://help.syncfusion.com/cr/xamarin/Syncfusion.SfRadialMenu.XForms.SfRadialMenu.html#Syncfusion_SfRadialMenu_XForms_SfRadialMenu_CenterButtonBorderThickness) | [CenterButtonStrokeThickness](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.RadialMenu.SfRadialMenu.html#Syncfusion_Maui_RadialMenu_SfRadialMenu_CenterButtonStrokeThickness) | Gets or sets a value of the the stroke thickness for the center button's stroke thickness in the SfRadialMenu. |
Upcoming features in .NET MAUI Radial Menu
- LayoutType: Determines the arrangement of items on the rim, either automatic or user-defined.
- VisibleSegmentCount: Determines the number of segments visible at a time on the menu.
- Selection: Allows you to highlight or choose segments within the hierarchy.
- CenterButtonPlacement: Specifies the position of the center button within the menu.
- Accessibility: Enhancements for better usability.
Support and feedback
If you are unable to find the migration information you require in the self-help resources listed above, please contact us by creating a support ticket. If you do not see what you need, Please request it in our feedback portal.