Skip to main content
A newer version of this page is available. .

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.v19.2.dll

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