ColorEdit.EditValue Property
Gets or sets the selected color.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v19.2.dll
Declaration
Property Value
Type | Description |
---|---|
Object | An object representing the currently selected color. |
Remarks
The EditValue property can accept integer values (represent colors in RGB formats) and Color values. Assigning other value types (including null) to the EditValue property results in setting the EditValue property to System.Drawing.Color.Empty.
The RepositoryItemColorEdit.StoreColorAsInteger property specifies whether the EditValue property returns an integer or a color value. Note that you can always access the edit value represented by a Color structure using the ColorEdit.Color property.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the EditValue property.
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.