Back to Devexpress

CompatibilitySettings.PrioritizeIListSourceInDiagramDataBinding Property

corelibraries-devexpress-dot-xpf-dot-core-dot-compatibilitysettings-12b7ce6c.md

latest2.0 KB
Original Source

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

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

Declaration

csharp
public static bool PrioritizeIListSourceInDiagramDataBinding { get; set; }
vb
Public Shared Property PrioritizeIListSourceInDiagramDataBinding As Boolean

Property Value

TypeDescription
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

CompatibilitySettings Class

CompatibilitySettings Members

DevExpress.Xpf.Core Namespace