Migrate from Xamarin Radial Menu to .NET MAUI Radial Menu

11 Aug 20262 minutes to read

To simplify the migration from the Xamarin Radial Menu to the .NET MAUI Radial Menu, most of the APIs from the Xamarin Radial Menu have been retained in the .NET MAUI Radial Menu. However, to maintain the consistency in API naming within the .NET MAUI Radial Menu, some APIs have been renamed. The following sections outline the differences.

Namespaces

Xamarin Radial Menu control .NET MAUI Radial Menu 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
<ContentPage 
...
xmlns:radialMenu="clr-namespace:Syncfusion.XForms.RadialMenu;assembly=Syncfusion.RadialMenu.XForms">
     <radialMenu:SfRadialMenu x:Name="radialMenu"/>
</ContentPage>
using Syncfusion.XForms.RadialMenu;
...

SfRadialMenu radialMenu = new SfRadialMenu();
this.Content = radialMenuControl;
.NET MAUI
<ContentPage 
...
xmlns:radialMenu="clr-namespace:Syncfusion.Maui.RadialMenu;assembly=Syncfusion.Maui.RadialMenu">
    <radialMenu:SfRadialMenu x:Name="radialMenuControl"/>
</ContentPage>
using Syncfusion.Maui.RadialMenu;
...

SfRadialMenu radialMenu = new SfRadialMenu();
this.Content = radialMenu;

Properties

SfRadialMenu control

Xamarin Radial Menu control .NET MAUI Radial Menu control Description
Gets or sets a value of the stroke brush for the center button's stroke in the SfRadialMenu.
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.