XPCollection.Object[Int32] Property
Gets the object at the specified index.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
Parameters
Name | Type | Description |
---|---|---|
index | Int32 | The zero-based index of the object to get. |
Property Value
Type | Description |
---|---|
Object | An object at the specified index in XPCollection. |
Remarks
This property provides the ability to access a specific object in the XPCollection by index. Use the following syntax: myCollection[index].
If the XPBaseCollection.LoadingEnabled property is set to true (by default) the collection will be automatically populated with data (if it’s still not populated) when its contents are accessed for the first time.