ListBoxEdit.IsSynchronizedWithCurrentItem Property

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

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public bool IsSynchronizedWithCurrentItem { get; set; }
Public Property IsSynchronizedWithCurrentItem As Boolean

Property Value

Type Description
Boolean

true, to always synchronize the BaseEdit.EditValue with the current item in the ICollectionView assigned to the ListBoxEdit.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 ListBoxEdit controls with their ListBoxEdit.ItemsSource property set to the same ICollectionView. Set the IsSynchronizedWithCurrentItem property to true on both editors to ensure that the edit value in each ListBoxEdit is the same.

Implements

DevExpress.Xpf.Editors.Internal.ISelectorEdit.IsSynchronizedWithCurrentItem
See Also