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

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

    Parameters

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