Skip to main content
A newer version of this page is available. .
All docs
V21.1

CompatibilitySettings.PrioritizeIListSourceInDiagramDataBinding Property

Specifies whether the DiagramControl’s data binding engine prioritizes the IListSource interface over the IEnumerable.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Data.Desktop.v21.1.dll

NuGet Package: DevExpress.Data.Desktop

Declaration

public static bool PrioritizeIListSourceInDiagramDataBinding { get; set; }

Property Value

Type Description
Boolean

true, to prioritize the IListSource interface; false, to prioritize the IEnumerable interface.

Remarks

In v20.1 and earlier, the DiagramControl’s data binding engine prioritizes the IEnumerable interface over the IListSource. This issue prevented data update notifications for data sources that implement both interfaces (for instance, TypedTableBase).

Starting with v20.2, the DiagramControl uses the IListSource.GetList method to obtain data from all sources that implement the IListSource interface. Set the PrioritizeIListSourceInDiagramDataBinding static property to false to revert to the previous behavior.

See Also