windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitem-97d52944.md
For internal use. Gets or sets whether the in-place editor posts its value to the bound data source immediately after the value changes.
Namespace : DevExpress.XtraEditors.Repository
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[Browsable(false)]
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual DefaultBoolean InplaceModeImmediatePostChanges { get; set; }
<DXCategory("Behavior")>
<DefaultValue(DefaultBoolean.Default)>
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Overridable Property InplaceModeImmediatePostChanges As DefaultBoolean
| Type | Default | Description |
|---|---|---|
| DefaultBoolean | Default |
True to post the edit value to the bound data source immediately after the value changes; otherwise, False to post the edit value after losing focus.
|
Available values:
| Name | Description | Return Value |
|---|---|---|
| True |
The value is true.
|
0
| | False |
The value is false.
|
1
| | Default |
The value is specified by a global option or a higher-level object.
|
2
|
The InplaceModeImmediatePostChanges property is overridden in descendant classes to affect the following non-text in-place editors that are used to edit values in data-aware controls (for example, Data Grid, TreeList, Vertical Grid, etc.):
| Data Editor | API |
|---|---|
CheckEdit | RepositoryItemCheckEdit.InplaceModeImmediatePostChanges |
ToggleSwitch | RepositoryItemToggleSwitch.InplaceModeImmediatePostChanges |
RatingControl | RepositoryItemRatingControl.InplaceModeImmediatePostChanges |
RadioGroup | RepositoryItemRadioGroup.InplaceModeImmediatePostChanges |
TrackBarControl | RepositoryItemTrackBar.InplaceModeImmediatePostChanges |
PopupBaseEdit descendants | RepositoryItemPopupBase.InplaceModeImmediatePostChanges |
Important
The InplaceModeImmediatePostChanges property has no effect on text-based editors.
Tip
Set the InplaceModeImmediatePostChanges property to DefaultBoolean.Default and use the WindowsFormsSettings.InplaceEditorUpdateMode property to control update behavior globally:
Immediate - Post the edit value immediately after the user modifies it.Postponed - Post the edit value when the cell loses focus.See Also