Skip to main content

ColorEdit.EditValue Property

Gets or sets the selected color.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation


public override object EditValue { get; set; }

Property Value

Type Description

An object representing the currently selected color.


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.

See Also