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

DataFormView.CommitMode Property

Gets or sets when to commit values that users enter in the data form’s editors to the bound data object. This is a bindable property.

Namespace: DevExpress.Maui.DataForm

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

Declaration

public CommitMode CommitMode { get; set; }

Property Value

Type Default Description
CommitMode Manually

A value that specifies when input values are committed.

Available values:

Name Description
Manually

A value is validated or committed when the Validate or Commit method is called, respectively.

LostFocus

A value is validated or committed when the editor loses focus.

Input

A value is validated or committed after changes.

Remarks

Each commit method calls validation first. A property value is only committed if it passes validation.

<dxdf:DataFormView x:Name="dataForm" 
                   CommitMode="PropertyChanged">
    <!-- ... -->
</dxdf:DataFormView>
See Also