Skip to main content

VGridControlBase.PostEditor() Method

Posts the value being edited to the associated data source without closing the active in-place editor.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v25.1.dll

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

Declaration

public virtual bool PostEditor()

Returns

Type Description
Boolean

true if the value being edited has been successfully saved to the associated data source; otherwise, false.

Remarks

The PostEditor method saves the modified cell’s value to the data source without closing the active in-place editor. This can be useful when the changes made up to a particular point by an end-user need to be saved, but additional editing of the cell’s value is required.

Tip

The following in-place editors can post their value to the bound data source immediately after the value changes:

  • CheckEdit
  • ToggleSwitch
  • RadioGroup
  • TrackBarControl
  • RatingControl
  • PopupBaseEdit descendants

Use the editor’s InplaceModeImmediatePostChanges property to control this behavior. The WindowsFormsSettings.InplaceEditorUpdateMode property allows you to control update behavior globally.

See Also