XPBaseCollection.IsLoaded Property
Gets whether the XPBaseCollection collection is loaded with objects from the data store.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
Property Value
Type | Description |
---|---|
Boolean | true if the collection is loaded with objects from the data store; otherwise, false. |
Remarks
A collection loads data from a data store automatically if the XPBaseCollection.LoadingEnabled property is set to true and the collection’s contents is accessed for the first time. The IsLoaded property returns true if the collection has been loaded with data. Otherwise, the property returns false.
If the XPBaseCollection.LoadingEnabled property is set to false, the IsLoaded property is of no avail.
Note that when an XPCollection is created using a constructor with the criteriaEvaluationBehavior parameter, it is loaded immediately.