ColorEdit.EditValue Property
Gets or sets the selected color.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
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.