XPDataView.PopulateProperties(List<XPMemberInfo>) 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(
List<XPMemberInfo> memberInfoList
)
#Parameters
Name | Type | Description |
---|---|---|
member |
List<XPMember |
A list of XPMember |
#Remarks
This method performs the following:
- Clears the XPDataView.Properties collection.
- Populates this collection with columns based on the properties whose metadata is passed as the memberInfoList parameter.
To load data into the data view, call the XPDataView.LoadOrderedData or XPDataView.LoadData method.
Note
The Populate
- A property that is not defined within the class
Info object. - A struct type member.
- A reference to a class with a struct type member.
- A collection used in object relations.
See Also