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.
System.Object
Xceed.Grid.GradientMap
Name | Description | |
---|---|---|
![]() | GradientMap Constructor | Overloaded. |
Name | Description | |
---|---|---|
![]() | GradientMode | Gets the gradient mode of a GradientMap. |
![]() | GradientStops | Gets the gradient stops of a GradientMap. |
Name | Description | |
---|---|---|
![]() | DefaultGradientMode | Gets the default value of the GradientMode property. |
Name | Description | |
---|---|---|
![]() | Clone | Creates a copy of this GradientMap object. |
![]() | Equals | Determines whether the specified object is equal to the current GradientMap. |
![]() | GetHashCode | Serves as a hash function for the GradientMap, suitable for use in hashing algorithms and data structures such as a hash table. |
![]() | GetOffsetColorPairs | Returns the offsets in the gradient map and their corresponding colors. |
![]() | ResetGradientMode | Resets the value of the GradientMode property to its default value, DefaultGradientMode. |
Name | Description | |
---|---|---|
![]() | OnGradientModeChanged | Raises the GradientModeChanged event. |
Name | Description | |
---|---|---|
![]() | GradientModeChanged | Raised when the value of the GradientMode property is changed. |
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