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.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
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.
The CustomColors property allows you to get/set these custom colors in code. See RepositoryItemColorEdit.ShowColorDialog property to learn more.
See Also