Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

EditFormModifiedAction Enum

Defines a set of actions that can be performed when an Edit Form contains unsaved changes and an end-user moves focus to another grid row.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#Declaration

public enum EditFormModifiedAction

#Members

Name Description
Default

Specifies the same behavior as the EditFormModifiedAction.Save value.

Save

A confirmation dialog asking the user to save or discard the changes, or cancel the action:

GridOptionsBehavior_ActionOnModifiedRowChange_Save

Cancel

A confirmation dialog asking to discard the changes:

GridOptionsBehavior_ActionOnModifiedRowChange_Cancel

Nothing

No confirmation is requested and it is not possible to move focus to another grid row.

#Related API Members

The following properties accept/return EditFormModifiedAction values:

#Remarks

Values of this enumeration are used to set the GridOptionsEditForm.ActionOnModifiedRowChange property that specifies the confirmation requested when an Edit Form contains unsaved changes and an end-user moves focus to another grid row.

See Also