ColorEdit.EditValue Property

Gets or sets the selected color.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[Browsable(false)]
public override object EditValue { get; set; }
<Browsable(False)>
Public Overrides Property EditValue As Object

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.

See Also