Skip to main content

ChangingEventArgs Class

Provides data for the RepositoryItem.EditValueChanging event.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation


public class ChangingEventArgs :


The RepositoryItem.EditValueChanging event is raised when the edit value is about to be changed. It enables you to prevent the value from changing. Thus, the CancelEventArgs class introduces the ChangingEventArgs.NewValue and ChangingEventArgs.OldValue properties that identify the potential and current edit values. The inherited Cancel property can be used to cancel the action.

ChangingEventArgs objects are automatically created, modified and passed to RepositoryItem.EditValueChanging event handlers.

See Also