CustomPalette(String, IEnumerable<Color>) Constructor
Initializes a new instance of the CustomPalette class with the specified name and colors.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v25.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| name | String | A String value that specifies the palette’s name. This value is assigned to the ColorPalette.Name property’s value. |
| colors | IEnumerable<Color> | The list of colors. This value is assigned to the ColorPalette.Colors property. |
See Also