'Declaration Public Shared Function FromThemeColor( _ ByVal index As ThemeColors, _ Optional ByVal tint As Double _ ) As Color
'Usage Dim index As ThemeColors Dim tint As Double Dim value As Color value = Color.FromThemeColor(index, tint)
public static Color FromThemeColor( ThemeColors index, double tint )
Parameters
- index
- An element of the GrapeCity.Core.ThemeColors enumeration.
- 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.
Return Value
The Color value that this method creates.