Skip to main content

ColorPickEdit Class

An advanced dropdown color picker that supports multiple palettes (a predefined color palette, Web and System) to choose colors from.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v22.1.dll


public class ColorPickEdit :

The following members return ColorPickEdit objects:


The ColorPickEdit allows a user to pick a color from one of palettes: a predefined color palette, Web and System.


The visibility of these palettes is specified by the following settings: Properties.ShowCustomColors, Properties.ShowWebColors and Properties.ShowSystemColors properties. You can substitute built-in colors displayed in the Theme Colors and Standard Color groups in the Custom tab via the Properties.ThemeColors and Properties.StandardColors properties.

A click on the More Colors button in the Custom tab opens the “Select Color” dialog. A user can pick any color using the RGB or HSB color model via this dialog:


To hide the More Colors button, set the Properties.ShowMoreColorsButton property to false. To customize the dialog’s settings, use the Properties.ColorDialogOptions property and ColorPickDialogShowing event.

The editor’s inherited ColorEdit.Color property returns the color selected by a user. You can use this property to set a custom color in code.

See Also