RepositoryItemColorEdit Class
Contains settings specific to a ColorEdit editor.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v18.1.dll
Declaration
[ToolboxBitmap(typeof(ToolboxIconsRootNS), "ColorEdit")]
public class RepositoryItemColorEdit :
RepositoryItemPopupBase
Related API Members
The following members accept/return RepositoryItemColorEdit objects:
Remarks
The RepositoryItemColorEdit provides settings specific to a color editor and these allow you to customize the editor’s look, feel and behavior. Most members are inherited from the base class. However RepositoryItemColorEdit provides a number of properties specific only to a color editor:
- RepositoryItemColorEdit.ColorAlignment specifies the alignment of the preview color box in the edit box
- RepositoryItemColorEdit.ColorText controls the representation of the selected color in the edit box
- RepositoryItemColorEdit.CustomColors contains colors to display in the Custom page of the dropdown window
- RepositoryItemColorEdit.StoreColorAsInteger specifies the type of value returned by ColorEdit.EditValue
See the ColorEdit.Properties property to access these settings.
You do not need to create repository items manually unless you have to create inplace editors (for the XtraGrid, for instance).
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the RepositoryItemColorEdit class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.