Skip to main content
All docs
V23.2

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.v23.2.dll

NuGet Packages: DevExpress.Data.Desktop, DevExpress.ExpressApp.Win.Design

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