Skip to main content

CalcEdit.ValueChanged Event

Fires after the CalcEdit.Value property value changes.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v25.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DXCategory("Events")]
public event EventHandler ValueChanged

Event Data

The ValueChanged event's data class is EventArgs.

Remarks

The following code snippet handles value changes in a CalcEdit control:

using DevExpress.XtraEditors;

calcEdit1.ValueChanged += CalcEdit1_ValueChanged;

void CalcEdit1_ValueChanged(object sender, EventArgs e) {
    CalcEdit edit = sender as CalcEdit;
    if (edit != null) {
        // Process the new value.
        decimal newValue = edit.Value;
    }
}
See Also