Skip to main content

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