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.v21.1.dll


public bool AllowUpdateTwoWayBoundPropertiesOnSynchronization { get; set; }

Property Value

Type Default Description


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


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