.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

XPDataView.PopulateProperties(XPClassInfo) Method

Populates the data view with columns based on the specified metadata information.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.1.dll


public void PopulateProperties(
    XPClassInfo classInfo
Public Sub PopulateProperties(
    classInfo As XPClassInfo


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.


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