Skip to main content
All docs
V25.1
  • 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

    True to post the edit value to the bound data source immediately after the popup is closed; 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

    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.
    See Also