Themes for WinForms | ComponentOne
C1.Win.C1Themes.4.5.2 Assembly / C1.Win.C1Themes Namespace / TwoColorGradient Class / TwoColorGradient Constructor / TwoColorGradient Constructor(ThemeColorValue,ThemeColorValue,ThemeBlendValue)
The first gradient color.
The second gradient color.
Gradient color blend.

In This Topic
    TwoColorGradient Constructor(ThemeColorValue,ThemeColorValue,ThemeBlendValue)
    In This Topic
    Initializes a new instance of the TwoColorGradient class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal color1 As ThemeColorValue, _
       ByVal color2 As ThemeColorValue, _
       ByVal blend As ThemeBlendValue _
    )
    public TwoColorGradient( 
       ThemeColorValue color1,
       ThemeColorValue color2,
       ThemeBlendValue blend
    )

    Parameters

    color1
    The first gradient color.
    color2
    The second gradient color.
    blend
    Gradient color blend.
    See Also