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

LookUpEditSettingsBase.IsSynchronizedWithCurrentItem Property

Gets or sets whether an editor should keep the BaseEdit.EditValue synchronized with the current item in the LookUpEditSettingsBase.ItemsSource property. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.Settings

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public bool IsSynchronizedWithCurrentItem { get; set; }

#Property Value

Type Description
Boolean

true, to always synchronize the BaseEdit.EditValue with the current item in the ICollectionView assigned to the LookUpEditSettingsBase.ItemsSource property; otherwise, false.

#Remarks

Set the IsSynchronizedWithCurrentItem property to true, to ensure that the edit value always corresponds to the CurrentItem property in the ICollectionView. For example, suppose that there are two LookUpEdit controls with their LookUpEditSettingsBase.ItemsSource property set to the same ICollectionView. Set the IsSynchronizedWithCurrentItem property to true on both editors to ensure that the edit value in each LookUpEdit is the same.

See Also