windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionseditform-7626d3af.md
Gets or sets the mode in which data from an Edit Form is passed back to the grid.
Namespace : DevExpress.XtraGrid.Views.Grid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(EditFormBindingMode.Default)]
[XtraSerializableProperty]
public virtual EditFormBindingMode BindingMode { get; set; }
<DefaultValue(EditFormBindingMode.Default)>
<XtraSerializableProperty>
Public Overridable Property BindingMode As EditFormBindingMode
| Type | Default | Description |
|---|---|---|
| EditFormBindingMode | Default |
The mode in which data from an Edit Form is passed back to the grid.
|
Available values:
| Name | Description |
|---|---|
| Default |
Defines the same behavior as the EditFormBindingMode.Direct mode.
| | Direct |
An edited field value in an Edit Form is passed back to the grid at the moment an end-user moves focus to another field in an Edit Form.
| | Cached |
Edited field values in an Edit Form are collected in a proxy and passed back to the grid simultaneously when an end-user saves changes.
|
You can access this nested property as listed below:
| Object Type | Path to BindingMode |
|---|---|
| GridView |
.OptionsEditForm .BindingMode
|
You can specify the mode in which data from an Edit Form is passed back to the grid. The EditFormBindingMode enumeration provides you with the following values:
The ColumnView.SetColumnError method does not set errors for fields displayed in the edit form when the GridOptionsEditForm.BindingMode option is set to Cached.
See Also