BaseEdit.OldEditValue Property

Gets the last successfully validated value.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[Browsable(false)]
public virtual object OldEditValue { get; }
<Browsable(False)>
Public Overridable ReadOnly Property OldEditValue As Object

Property Value

Type Description
Object

An object representing the last value that was successfully validated.

Remarks

The current edit value can be accessed via the BaseEdit.EditValue property.

When an end-user enters an editor and attempts to modify the current value, this value is stored in the OldEditValue property. For instance, you can use the old value when the editor's current value is being validated via the RepositoryItem.Validating event.

See Also