A newer version of this page is available. Switch to the current version.

BaseEdit.IsModified Property

Gets or sets whether the editor's value has been modified since the editor last received focus or since it was last validated.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll


public virtual bool IsModified { get; set; }

Property Value

Type Description

true if the editor's value has been modified; otherwise, false.


Each time a user starts to modify the editor's value (types or deletes a character, chooses a value from the dropdown list, etc), this property value is automatically set to true. When the end-user accepts the edited value (the editor is about to lose focus, for instance) the editor is validated. After the editor has been successfully validated, the IsModified property value is automatically set to false.

This property is used internally by the editor to determine whether the RepositoryItem.Validating event needs to be raised.

See Also