Back to Devexpress

EditFormModifiedAction Enum

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-2ad3c92d.md

latest2.4 KB
Original Source

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.v25.2.dll

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

Declaration

csharp
public enum EditFormModifiedAction
vb
Public Enum EditFormModifiedAction

Members

NameDescription
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:

| | Cancel |

A confirmation dialog asking to discard the changes:

| | Nothing |

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

|

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

ActionOnModifiedRowChange

DevExpress.XtraGrid.Views.Grid Namespace