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


In This Topic
    GradientMap Class
    In This Topic
    Represents a gradient map used to apply a Vista-like gradient to parts of the grid.
    Syntax
    'Declaration
     
    Public Class GradientMap 
    'Usage
     
    Dim instance As GradientMap
    public class GradientMap 
    Remarks

    A GradientMap applies a series of colors to a grid. The colors run along an axis and change gradually from one color to the next. Using this class you can create the illusion of light and shadows, and smooth surfaces, on the parts of the grid to which a GradientMap is applied.

    A GradientMap provides two ways of controlling its appearance. First, a list of gradient stops represents the colors in the gradient and indicates where the colors are in the gradient. Second, a gradient mode indicates how the grading is done, namely, vertically (the default) or horizontally.

    Inheritance Hierarchy

    System.Object
       Xceed.Grid.GradientMap

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyGets the gradient mode of a GradientMap.  
    Public PropertyGets the gradient stops of a GradientMap.  
    Top
    Protected Properties
     NameDescription
    Protected PropertyGets the default value of the GradientMode property.  
    Top
    Public Methods
     NameDescription
    Public MethodCreates a copy of this GradientMap object.  
    Public MethodDetermines whether the specified object is equal to the current GradientMap.  
    Public MethodServes as a hash function for the GradientMap, suitable for use in hashing algorithms and data structures such as a hash table.  
    Public MethodReturns the offsets in the gradient map and their corresponding colors.  
    Public MethodResets the value of the GradientMode property to its default value, DefaultGradientMode.  
    Top
    Protected Methods
     NameDescription
    Protected MethodRaises the GradientModeChanged event.  
    Top
    Public Events
     NameDescription
    Public EventRaised when the value of the GradientMode property is changed.  
    Top
    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