ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / LinearBoxGradientBrush Class / LinearBoxGradientBrush Constructor
An array of System.Drawing.Color that indicates the linear gradient colors.
A GradientDirection that indicates the gradient direction.

In This Topic
    LinearBoxGradientBrush Constructor
    In This Topic
    Initializes a new instance of the LinearBoxGradientBrush class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal colors() As Color, _
       ByVal direction As GradientDirection _
    )
    public LinearBoxGradientBrush( 
       Color[] colors,
       GradientDirection direction
    )

    Parameters

    colors
    An array of System.Drawing.Color that indicates the linear gradient colors.
    direction
    A GradientDirection that indicates the gradient direction.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also