Back to Devexpress

DataControlBase.AllowUpdateTwoWayBoundPropertiesOnSynchronization Property

wpf-devexpress-dot-xpf-dot-grid-dot-datacontrolbase-da8e20be.md

latest2.1 KB
Original Source

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.v25.2.Core.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public bool AllowUpdateTwoWayBoundPropertiesOnSynchronization { get; set; }
vb
Public Property AllowUpdateTwoWayBoundPropertiesOnSynchronization As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

ItemsSource

Bind the WPF Data Grid to ICollectionView

DataControlBase Class

DataControlBase Members

DevExpress.Xpf.Grid Namespace