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.v18.2.dll
Declaration
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the IsModified property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.