I have found the following (at least on Xamarin Forms - Android):
- Setting the Header background color shows the correct color in the previewer, but not during runtime
- To change the ResourceContainer's background color, I had to write a DependencyService that uses reflection to set the background. Relevant code below.
public class Hack : IHack
{
public void Hack(SfSchedule schedule)
{
var nativeObject = typeof(SfSchedule).GetProperty("NativeObject", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance).GetValue(schedule);
var androidObject = nativeObject as Com.Syncfusion.Schedule.SfSchedule;
var resourceContainer = androidObject.GetType().GetProperty("ResourceContainer", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance).GetValue(androidObject) as Android.Widget.FrameLayout;
resourceContainer.SetBackgroundColor(Android.Graphics.Color.Aqua);
}
}