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.v20.1.dll

Declaration

[DXCategory("Behavior")]
public Color[] CustomColors { get; set; }
<DXCategory("Behavior")>
Public Property CustomColors As Color()

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