BaseEdit.EditValueChanged Event
Fires immediately after the edit value has been changed.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v22.2.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Event Data
The EditValueChanged event's data class is EventArgs.
Remarks
The edited value is specified by the BaseEdit.EditValue property. Each time this property value changes, the EditValueChanged event is raised.
The editor’s EditValueChanged event is equivalent to the RepositoryItem.EditValueChanged event available via the BaseEdit.Properties object, i.e. adding/removing an event handler for the current event actually affects the RepositoryItem.EditValueChanged event.
See the RepositoryItem.EditValueChanged topic for more information.
Example
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")) {
//...
}
}