Xamarin.Forms Set Default Button/Background Color

10,563

Another possibility could be using native platform features for this, on IOS you could use the Apperance API, and on Android the Syles and Themes.

Share:
10,563
BillPull
Author by

BillPull

Updated on June 04, 2022

Comments

  • BillPull
    BillPull almost 2 years

    Is there any way to globally configure styles for elements/pages in Xamarin.Forms.

    Currently I have a Helpers.Colors class and can set the properties individually on each button and on the master/detail page. But it would be nice to have one place to configure it. Mainly I want to move away from the stock dark gradient that android has.