Back to Devexpress

VGridControlBase.PostEditor() Method

windowsforms-devexpress-dot-xtraverticalgrid-dot-vgridcontrolbase-ea8a27ef.md

latest2.2 KB
Original Source

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.2.dll

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

Declaration

csharp
public virtual bool PostEditor()
vb
Public Overridable Function PostEditor As Boolean

Returns

TypeDescription
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

VGridControlBase Class

VGridControlBase Members

DevExpress.XtraVerticalGrid Namespace