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

ModificationsController.ModificationsCheckingMode Property

Specifies when the modifications made in an editable List View are committed.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

[DefaultValue(ModificationsCheckingMode.Always)]
public ModificationsCheckingMode ModificationsCheckingMode { get; set; }
<DefaultValue(ModificationsCheckingMode.Always)>
Public Property ModificationsCheckingMode As ModificationsCheckingMode

Property Value

Type Description
ModificationsCheckingMode

A ModificationsCheckingMode enumeration value that specifies when the modifications made in an editable List View are committed.

Remarks

By default, this property value is OnCloseOnly, i.e., data modifications are committed when a ListView is closed. Set the ModificationsCheckingMode property to ModificationsCheckingMode.Always to commit modifications each time a record is modified. Changes will be committed and confirmation will be displayed when a user proceeds to the next record in the editable List View.

using DevExpress.ExpressApp.SystemModule;
using DevExpress.ExpressApp.Win.SystemModule;
// ...
public class MyWinModificationsController : WinModificationsController {
    protected override void OnActivated() {
        base.OnActivated();
        this.ModificationsCheckingMode = ModificationsCheckingMode.Always;
    }
}
See Also