Skip to main content
A newer version of this page is available. .

RepositoryItemColorEdit.CustomColors Property

Gets or sets an array of user-defined colors to display in the Custom panel of the dropdown window.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[DXCategory("Behavior")]
public Color[] CustomColors { get; set; }

Property Value

Type Description
Color[]

An array of user-defined colors to display in the Custom panel.

Remarks

A color editor provides three tabs in the dropdown that display the system, web and custom colors respectively. The Custom panel displays a number of predefined colors at the top and 16 custom colors (by default, undefined) at the bottom of the panel.

ColorEdit_CustomColors

The CustomColors property allows you to get/set these custom colors in code. See RepositoryItemColorEdit.ShowColorDialog property to learn more.

See Also