RepositoryItem.InplaceModeImmediatePostChanges Property
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.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[Browsable(false)]
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual DefaultBoolean InplaceModeImmediatePostChanges { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DefaultBoolean | Default |
|
Available values:
Name | Description | Return Value |
---|---|---|
True | The value is true. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
Remarks
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.