Skip to main content

BaseEdit.OldEditValue Property

Gets the last successfully validated value.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation


public virtual object OldEditValue { get; }

Property Value

Type Description

An object representing the last value that was successfully validated.


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