Articles in this section
Category / Section

How to show .NET MAUI Radial Menu as a floating point button?

2 mins read

To show a .NET MAUI RadialMenu as a floating-point button and position it appropriately, you can follow these steps:

Step 1: Add Radial Menu in XAML

Define the RadialMenu in your XAML layout. Customize the appearance by setting the CenterButtonRadius and CenterButtonSize.

XAML

 <radialMenu:SfRadialMenu x:Name="radialMenu"                             
                          CenterButtonRadius="75"                            
                          CenterButtonSize="150">
     <radialMenu:SfRadialMenu.CenterButtonView>
         <Grid>
             <Image Source="people_circle1.png" />
         </Grid>
     </radialMenu:SfRadialMenu.CenterButtonView>     
 </radialMenu:SfRadialMenu>

Step 2: Position Radial Menu in Code-behind

Override the OnAppearing method of the content page to set the Point property of the Radial Menu to position it appropriately.

C#

 protected override void OnAppearing() 
 {
     radialMenu.Point = new Point(50, 500);
 }

Output

Screenshot 2024-04-03 190409.png

Conclusion
I hope you enjoyed learning how to show the .NET MAUI Radial Menu as a floating-point button.

You can refer to our .NET MAUI Radial Menu feature tour page to learn about its other groundbreaking feature representations. You can explore our .NET MAUI Radial Menu documentation to understand how to present and manipulate data.

For current customers, check out our .NET MAUI components on the License and Downloads page. If you are new to Syncfusion®, try our 30-day free trial to explore our .NET MAUI Radial Menu and other .NET MAUI components.

Please let us know in the following comments section if you have any queries or require clarifications. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied