XPDataView.PopulateProperties(XPClassInfo) Method
Populates the data view with columns based on the specified metadata information.
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 |
---|---|---|
classInfo | XPClassInfo | An XPClassInfo object containing metadata information on the object whose persistent properties are used to populate the XPDataView.Properties collection. |
Remarks
This method performs the following:
- Clears the XPDataView.Properties collection.
- Populates this collection with columns, based on the persistent properties of an object whose metadata information is passed as the classInfo parameter. The properties are obtained via the XPClassInfo.PersistentProperties.
To load data into the data view, call the XPDataView.LoadOrderedData or XPDataView.LoadData method.
See Also