Articles in this section
Category / Section

How to change the size of the SfRadialMenu in WindowsPhone?

1 min read

The size of the SfRadialMenu can be changed as follows:

RadiusX and RadiusY:

Set the property, RadiusX to change the width of the SfRadialMenu. Set the property, RadiusY to change the height of the SfRadialMenu.

The following code demonstrates the same.

 

MainWindow.xaml

<navigation:SfRadialMenu RadiusX="180" RadiusY="180">
   <navigation:SfRadialMenuItem Header="Cut"/>
   <navigation:SfRadialMenuItem Header="Copy"/>
   <navigation:SfRadialMenuItem Header="Paste"/>
</navigation:SfRadialMenu>

MainWindow.xaml.cs

SfRadialMenu radialMenu = new SfRadialMenu() { RadiusX = 180, RadiusY = 180 };
radialMenu.Items.Add(new SfRadialMenuItem() { Header = "Cut" });
radialMenu.Items.Add(new SfRadialMenuItem() { Header = "Copy" });
radialMenu.Items.Add(new SfRadialMenuItem() { Header = "Paste" });

The following screenshot display the SfRadialMenu before and after the size change:

 


 

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