[]
Creates a Color structure from the specified predefined color.
public static Color FromThemeColor(ThemeColors index, double tint = 0)
Public Shared Function FromThemeColor(index As ThemeColors, Optional tint As Double = 0) As Color
Type | Name | Description |
---|---|---|
ThemeColors | index | An element of the ThemeColors enumeration. |
double | tint | The mixture of a color with white, which increases lightness, and a shade is the mixture of a color with black, which reduces lightness. Valid values are -1 through 1. |