Skip to main content
A newer version of this page is available. .

RepositoryItem.EditValueChanged Event

Fires when the editor’s BaseEdit.EditValue property changes.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll


public event EventHandler EditValueChanged

Event Data

The EditValueChanged event's data class is EventArgs.


Editors raise the EditValueChanged event during the editing process, not after it is finished. For instance, if an editor has a text box, the EditValueChanged event will fire each time a user types a new character. It is possible to delay the EditValueChanged event: set the RepositoryItem.EditValueChangedFiringMode property to Buffered and change the RepositoryItem.EditValueChangedDelay \ RepositoryItem.EditValueChangedFiringDelay property to specify the delay.

The EditValueChanged event only notifies you about value changes and cannot cancel them. If you need to limit the user input, handle the RepositoryItem.EditValueChanging event instead.

The RepositoryItem.EditValueChangedFiringMode property specifies how the EditValueChanged event fires - immediately, or after an end-user has stopped editing. See this topic for more details.


The following example shows how to respond to changing an editor’s value by handling the EditValueChanged event.

private void textEdit1_EditValueChanged(object sender, EventArgs e) {
    TextEdit textEditor = (TextEdit)sender;
    if(Equals(textEditor.EditValue, "000")) {
See Also