Custom font icon inside DropDownButtonSettings not working when using ExportFont of Xamarin.Form

Hi you,
I want using custom Font with icon of your control. But it not working, here my code:

var vb = new SfComboBox();
var model = new ViewModel();
vb.DataSource = model.Data;
vb.DropDownButtonSettings.Width = 20;
vb.DropDownButtonSettings.BackgroundColor = Color.Transparent;
vb.DropDownButtonSettings.HighlightFontColor = Color.Transparent;
vb.DropDownButtonSettings.HighlightedBackgroundColor = Color.Transparent;
vb.DropDownButtonSettings.FontFamily = "ICON";
vb.DropDownButtonSettings.FontIcon = "\U000f0140";
Content = new StackLayout { Children = { vb } };

I dont want use platform Resource/Assets to import my .ttf.
Do you have any other solution?
Thanks you.

3 Replies 1 reply marked as answer

SS Suganya Sethuraman Syncfusion Team October 13, 2020 12:05 PM UTC

Hi Nguyen,

Greetings from Syncfusion.

We are currently validating on this with high priority and we will update the details on October 15, 2020. We appreciate your patience until then.

Regards,
Suganya Sethuraman.
 
 



SS Suganya Sethuraman Syncfusion Team October 15, 2020 03:58 PM UTC

Hi Nguyen,

We have fixed the reported issue “Embedded font not working for DropDownButtonSettings in SfComboBox”. Please download the patch from the following location.

Please find the patch setup from below location:
 
http://syncfusion.com/Installs/support/patch/18.3.0.35/1173619/F158636/SyncfusionNuget_18.3.0.35_1173619_10152020105509381_F158636.zip

Assembly Version: 18.3.0.35

Disclaimer:

Please note that we have created this patch for version 18.3.0.35 specifically to resolve the following issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received.

Note: Please clear the cache, before the apply the provided patch

https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache

This fix will be included in our upcoming weekly NuGet release on October 27, 2020.

Regards,
Suganya Sethuraman.
 



SS Suganya Sethuraman Syncfusion Team October 27, 2020 12:00 PM UTC

Hi Nguyen,

Thank you for your patience.

We have fixed the reported issue and included the issue fix in our latest Weekly NuGet release update version 18.3.0.44 which is available for download (https://www.nuget.org/ ).

We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.

Regards,
Suganya Sethuraman.
 


Marked as answer
Loader.
Up arrow icon