We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Thread ID:





146514 Aug 6,2019 09:25 PM UTC Aug 7,2019 12:59 PM UTC Xamarin.Forms 1
Tags: SfRadialMenu
Asked On August 6, 2019 09:25 PM UTC

Assigning the same FontIconText string in C# doesn't work the same as in Xaml. The rendered menu just displayes the "i" as the option not the icon text.

Previously I had creates the items collection for the Radial Menu in Xaml and that worked fine:

<radialMenu:SfRadialMenuItem ItemTapped="OnSaveRadialMenuItemTapped" FontIconText="i" IconFontFamily="{StaticResource customfontfamily}"></radialMenu:SfRadialMenuItem>

c# (doesn't render the icon):

 var item = new SfRadialMenuItem() {
                FontIconText = "i",
                IconFontFamily = Device.RuntimePlatform == Device.Android ? "Edsembli" : "Edsembli.ttf";,

Muneesh Kumar G [Syncfusion]
Replied On August 7, 2019 12:59 PM UTC

Hi Mario, 
We have analyzed your requirement “FontIconText string in C# doesn't working in SfRadialMenu” from our side. We have prepared the sample for your reference. Please try the attached below sample and let us know if you have any concern on this. 
Code snippet: 
   public partial class MainPage : ContentPage 
        SfRadialMenu radialMenu = new SfRadialMenu(); 
        public MainPage() 
            Grid grid = new Grid(); 
            radialMenu.CenterButtonFontFamily = Device.RuntimePlatform == Device.Android ? "radialmenu_Segoe MDL2 Assets.ttf" : Device.RuntimePlatform == Device.iOS ? "Segoe MDL2 Assets" : "radialmenu_Segoe_MDL2_Assets.ttf#Segoe MDL2 Assets"; 
            radialMenu.CenterButtonText = "\uE713"; 
            radialMenu.CenterButtonRadius = 32; 
            string[] radialMenuItems = new string[] { "\uE734", "\uE700", "\uE72d", "\uE735", "\uE700", "\uE73a" }; 
            for (int itemCount = 0; itemCount < radialMenuItems.Count(); itemCount++) 
                radialMenu.Items.Add(new SfRadialMenuItem() 
                    FontIconText = radialMenuItems[itemCount], 
                    IconFontSize = 25, 
                    IconFontFamily = Device.RuntimePlatform == Device.iOS ? "Segoe MDL2 Assets" : Device.RuntimePlatform == Device.Android ? "radialmenu_Segoe MDL2 Assets.ttf" : "radialmenu_Segoe_MDL2_Assets.ttf#Segoe MDL2 Assets" 
            this.Content = grid; 
Sample Link: 
Muneesh Kumar G. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon