Skip to main content

DataControlBase.AllowUpdateTwoWayBoundPropertiesOnSynchronization Property

Prevents the DataControlBase.SelectedItem binding source from being updated during synchronization with the DataControlBase.ItemsSource. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v23.2.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public bool AllowUpdateTwoWayBoundPropertiesOnSynchronization { get; set; }

Property Value

Type Default Description
Boolean true

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

Remarks

If the AllowUpdateTwoWayBoundPropertiesOnSynchronization property is set to false and CurrentItem is invisible, the GridControl does not set FocusedRowHandle to InvalidRowHandle. As a result, the previously focused row keeps the focus.

See Also