Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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