Back to Devexpress

XPBaseCollection Class

xpo-devexpress-dot-xpo-8e56f328.md

latest4.5 KB
Original Source

XPBaseCollection Class

An ancestor of the XPCollection class.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public abstract class XPBaseCollection :
    Component,
    IBindingList,
    ICollection,
    IEnumerable,
    IList,
    ITypedList,
    ISupportInitialize,
    IXPClassInfoAndSessionProvider,
    IXPClassInfoProvider,
    IXPDictionaryProvider,
    ISessionProvider,
    IObjectLayerProvider,
    IDataLayerProvider,
    IObjectChange,
    IFilteredXtraBindingList,
    IFilteredDataSource,
    IXPPrefetchableAssociationList,
    IXPBulkLoadableCollection
vb
Public MustInherit Class XPBaseCollection
    Inherits Component
    Implements IBindingList,
               ICollection,
               IEnumerable,
               IList,
               ITypedList,
               ISupportInitialize,
               IXPClassInfoAndSessionProvider,
               IXPClassInfoProvider,
               IXPDictionaryProvider,
               ISessionProvider,
               IObjectLayerProvider,
               IDataLayerProvider,
               IObjectChange,
               IFilteredXtraBindingList,
               IFilteredDataSource,
               IXPPrefetchableAssociationList,
               IXPBulkLoadableCollection
csharp
public abstract class XPBaseCollection :
    Component,
    IBindingList,
    IList,
    ICollection,
    IEnumerable,
    ITypedList,
    ISupportInitialize,
    IXPClassInfoAndSessionProvider,
    IXPClassInfoProvider,
    IXPDictionaryProvider,
    ISessionProvider,
    IObjectLayerProvider,
    IDataLayerProvider,
    IObjectChange,
    IFilteredXtraBindingList,
    IFilteredDataSource,
    IXPPrefetchableAssociationList,
    IXPBulkLoadableCollection
vb
Public MustInherit Class XPBaseCollection
    Inherits Component
    Implements IBindingList,
               IList,
               ICollection,
               IEnumerable,
               ITypedList,
               ISupportInitialize,
               IXPClassInfoAndSessionProvider,
               IXPClassInfoProvider,
               IXPDictionaryProvider,
               ISessionProvider,
               IObjectLayerProvider,
               IDataLayerProvider,
               IObjectChange,
               IFilteredXtraBindingList,
               IFilteredDataSource,
               IXPPrefetchableAssociationList,
               IXPBulkLoadableCollection

The following members return XPBaseCollection objects:

Remarks

XPBaseCollection is an ancestor of the XPCollection class. Use XPCollection objects in your applications to represent collections of persistent objects. See the XPCollection concept for more information.

Note

The XPBaseCollection ‘s implementation of the ITypedList interface limits the number of nesting levels in the object’s hierarchy to four levels at design time. This is done on purpose, because in some situations, Visual Studio attempts to retrieve the full hierarchy. This leads to Visual Studio hanging if the business model has self-referencing associations.

At runtime, there is no limitation for the nesting level, and you can bind controls to any property at runtime, even if it isn’t visible in the designer. Also, the end-user designer doesn’t inherit this problem, and the entire hierarchy will be retrieved.

Implements

ISessionProvider

Inheritance

Object MarshalByRefObject Component XPBaseCollection XPCollection

XPCollection<T>

See Also

XPBaseCollection Members

DevExpress.Xpo Namespace