Skip to main content

BaseEdit.EditValueChanging Event

Occurs before the editor’s value is changed.

Namespace: DevExpress.UI.Xaml.Editors

Assembly: DevExpress.UI.Xaml.Editors.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public event EditValueChangingEventHandler EditValueChanging

Event Data

The EditValueChanging event's data class is EditValueChangingEventArgs. The following properties provide information specific to this event:

Property Description
IsCancel Gets or sets a value indicating whether the event should be canceled.
NewValue Gets a new value to be assigned to the editor.
OldValue Gets or sets the current edit value, which should be replaced by the new value.

Remarks

The EditValueChanging event is raised when the editor’s value is about to be changed (a user types or deletes a character, presses a spin button, etc.). The potential new value is returned by the event parameter’s NewValue property. The current value is returned by the OldValue property. To cancel posting a NewValue to BaseEdit.EditValue, set the Handled and event parameter’s IsCancel properties to true.

After the editor’s value has been changed, the BaseEdit.EditValueChanged event is fired.

See Also