ColorTheme(Color[], Color[]) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructor of ColorTheme where you can specify color sets for the foreground and background. Depending on the Text a random color from the set gets selected. This makes it very easy to create a consistent look.
public ColorTheme (Xamarin.Forms.Color[] foregroundColors, Xamarin.Forms.Color[] backgroundColors);