ColorPalette.CreateGradientPalette(String, ColorCollection) Method
In This Article
Returns a palette filled with gradient colors from specified base colors.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v14.2.dll
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
name | String | A String value that specifies the palette name. This value is assigned to the Color |
source | Color |
The collection of base colors. |
#Returns
Type | Description |
---|---|
Color |
A Color |
#Remarks
The CreateGradientPalette method creates a new palette with the specified name and generates gradient colors for each base color in source.
See Also