I have looked over the documentation and read up on implicit styles. I simply want all pages that inherit from ContentPage to have the same background color.
Here is what I am trying currently that is not working:
// The Application ResourceDictionary is available in Xamarin.Forms 1.3 and later
Application.Current.Resources = new ResourceDictionary ();
var appStyle = new Style (typeof(ContentPage)) {
Setters = {
new Setter { Property = ContentPage.BackgroundColorProperty, Value = Color.Aqua }
}
};
Application.Current.Resources.Add (appStyle); // use the "AppStyle" key in the app
Any help would be greatly appreciated!