The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.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.v19.1.dll

Declaration

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

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.

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