Skip to main content

TreeList.PostEditor() Method

Posts edited cell’s value to the associated data source.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v25.1.dll

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

Declaration

public virtual void PostEditor()

Remarks

Use the PostEditor method to save the edited value to the data source without closing the editor. If your aim is to close the editor and save the changes made, consider using the TreeList.CloseEditor method. The TreeList.HideEditor method, in turn, enables you to close the editor without saving changes made.

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