Good morning,
in our app we have few generated by code SfButtons, if we set the IconSource by code the icon will not be displayed:
SfButton selectDatabaseSfButton = new SfButton();
selectDatabaseSfButton.CornerRadius = 5d;
selectDatabaseSfButton.HeightRequest = 40d;
selectDatabaseSfButton.BackgroundColor = Color.FromHex("#007bff");
selectDatabaseSfButton.Margin = new Thickness(0d, 0d, 10d, 0d);
selectDatabaseSfButton.ImageSource = ImageSource.FromResource("buttonIcon_glyphicons_528_database.png");
selectDatabaseSfButton.ShowIcon = true;
selectDatabaseSfButton.CommandParameter = databaseDBData.Name;
selectDatabaseSfButton.Clicked += SelectDatabaseSfButton_Clicked;
selectDatabaseSfButton.Text = Sendra2Resources.BUTTON_SELECTDATABASEVIEW_SELECTDATABASE;
Thanks in advance