Skip to main content

BaseEdit.OldEditValue Property

Gets the last successfully validated value.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
public virtual object OldEditValue { get; }

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