GridOptionsEditForm.BindingMode Property

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.v20.1.dll

Declaration

[DefaultValue(EditFormBindingMode.Default)]
[XtraSerializableProperty]
public virtual EditFormBindingMode BindingMode { get; set; }
<DefaultValue(EditFormBindingMode.Default)>
<XtraSerializableProperty>
Public Overridable Property BindingMode As EditFormBindingMode

Property Value

Type Default Description
EditFormBindingMode

Default

The mode in which data from an Edit Form is passed back to the grid.

Property Paths

You can access this nested property as listed below:

Object Type Path to BindingMode
AdvBandedGridView
.OptionsEditForm.BindingMode
BandedGridView
.OptionsEditForm.BindingMode
GridView
.OptionsEditForm.BindingMode
TileView
.OptionsEditForm.BindingMode

Remarks

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:

  • Direct and Default - 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.

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