Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / GradientStop Class
Members


In This Topic
    GradientStop Class
    In This Topic
    Represents a gradient stop in a GradientMap.
    Syntax
    'Declaration
     
    Public Class GradientStop 
    'Usage
     
    Dim instance As GradientStop
    public class GradientStop 
    Remarks

    A gradient stop has an offset and a color. The offset is a double value representing a position along an axis whose direction is determined by the GradientMode of the gradient map that contains the gradient stop. The offset can have a value between 0 and 1, with 0 representing a position at the beginning of the gradient, and 1 representing a position at the end of the gradient.

    A gradient stop's offset can be thought of as representing a point along the gradient where a color will be pure; the color of points between two offsets will gradually change from the color of the first gradient stop to the color of the second gradient stop, at its offset, at which point the pure color of the second gradient stop will be displayed.

    Inheritance Hierarchy

    System.Object
       Xceed.Grid.GradientStop

    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