Xceed Grid for WinForms v4.3 Documentation
GradientStop Constructor(Double,Color)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GradientStop Class > GradientStop Constructor : GradientStop Constructor(Double,Color)
A double value representing the point along the gradient at which the color of the gradient stop is at its purest.
A System.Drawing.Color structure representing the color at the offset of the gradient stop.
Initializes a new instance of the GradientStop class.
Syntax
'Declaration
 
Public Function New( _
   ByVal offset As Double, _
   ByVal color As Color _
)
'Usage
 
Dim offset As Double
Dim color As Color
 
Dim instance As New GradientStop(offset, color)
public GradientStop( 
   double offset,
   Color color
)

Parameters

offset
A double value representing the point along the gradient at which the color of the gradient stop is at its purest.
color
A System.Drawing.Color structure representing the color at the offset of the gradient stop.
Remarks

A GradientStop object's offset must be between 0 and 1.

A GradientStop object's color cannot be empty.

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

Reference

GradientStop Class
GradientStop Members
Overload List