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

    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

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