Hi,
I am having an issue in my project with setting the BackgroundColor property for a StyledStringElement. No matter what I set the background color property to the background is always white (see image-1.png). The odd thing is that I used to have the background color working properly (see image-2.png). I do not have anything in my project that should be overriding the StyledStringElement class and I do not have a custom theme applied. I did upgrade Xamarin Studio to the latest version recently, but I am not sure if that is cause or not.
All of the other properties such as TextColor and Alignment are working perfectly fine. And this issue is occuring on all of the screens in my app that use Monotouch.Dialog and StyledStringElements.
Here is the code that creates the "Save" button:
elementSave = new StyledStringElement("SAVE")
{
TextColor = UIColor.White,
Alignment = UITextAlignment.Center,
BackgroundColor = UIColor.Orange,
};
Any ideas what I may be doing wrong here?
Thanks!