Skip to main content
A newer version of this page is available. .

ChangingEventArgs Class

Provides data for the RepositoryItem.EditValueChanging event.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

public class ChangingEventArgs :
    CancelEventArgs

Remarks

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