The requested page is not available for the requested platform. You are viewing the content for Default platform.

BaseEdit.EditValueChanging Event

Occurs before the editor's value is changed.

Namespace: DevExpress.UI.Xaml.Editors

Assembly: DevExpress.UI.Xaml.Editors.v19.1.dll

Declaration

public event EditValueChangingEventHandler EditValueChanging
Public Event EditValueChanging As EditValueChangingEventHandler

Event Data

The EditValueChanging event handler receives an argument of the EditValueChangingEventArgs type. 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