Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseEdit.AllowUpdateTwoWayBoundPropertiesOnSynchronization Property

Prevents the BaseEdit.EditValue and LookUpEditBase.SelectedItem binding source from being updated during synchronization with the LookUpEditBase.ItemsSource.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public bool AllowUpdateTwoWayBoundPropertiesOnSynchronization { get; set; }

#Property Value

Type Default Description
Boolean true

true, to allow updating the binding source of two-way bound properties during synchronization; otherwise, false.

#Remarks

When the editor’s LookUpEditBase.ItemsSource is updated, the editor checks if an item stored within the BaseEdit.EditValue exists in the items source. If a corresponding item cannot be found in the item source, BaseEdit.EditValue is set to null. To disable resetting the BaseEdit.EditValue on clearing the items source, set the AllowUpdateTwoWayBoundPropertiesOnSynchronization property to false.

The AllowUpdateTwoWayBoundPropertiesOnSynchronization property affects the following editors:

See Also