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.v20.1.dll

Declaration

[Browsable(false)]
public virtual bool IsModified { get; set; }
<Browsable(False)>
Public Overridable Property IsModified As Boolean

Property Value

Type Description
Boolean

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

Remarks

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