XPDataView.PopulateProperties(XPClassInfo) Method
In This Article
Populates the data view with columns based on the specified metadata information.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
public void PopulateProperties(
XPClassInfo classInfo
)
#Parameters
Name | Type | Description |
---|---|---|
class |
XPClass |
An XPClass |
#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