RepositoryItemPopupBase.InplaceModeImmediatePostChanges Property
Gets or sets whether the in-place editor posts its value to the bound data source immediately after the popup is closed.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v25.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[Browsable(true)]
public override DefaultBoolean InplaceModeImmediatePostChanges { get; set; }
Property Value
Type | Description |
---|---|
DefaultBoolean |
|
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
Enable the InplaceModeImmediatePostChanges
option to ensure that dependent functionality reacts immediately to user input (for example, conditional formatting, data summaries, event handlers that rely on bound field values, etc.).
If the InplaceModeImmediatePostChanges
property is set to DefaultBoolean.True
, the editor posts its value to the data source as soon as its value changes (without waiting for the cell to lose focus). This behavior is supported by in-place editors where input does not rely on text editing:
- CheckEdit
- ToggleSwitch
- RadioGroup
- TrackBarControl
- RatingControl
- PopupBaseEdit descendants
If the InplaceModeImmediatePostChanges
property is set to DefaultBoolean.False
, the editor posts its value after losing focus (for example, when the user focuses another grid cell).
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.