Skip to main content
.NET Framework 4.5.2+

XPDataView(XPDictionary, List<XPMemberInfo>) Constructor

Initializes a new instance of the XPDataView class and populates it with columns based on the specified settings.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public XPDataView(
    XPDictionary dictionary,
    List<XPMemberInfo> memberInfoList
)

Parameters

Name Type Description
dictionary XPDictionary

An XPDictionary object which represents the metadata provider. This value is assigned to the XPDataView.Dictionary property.

memberInfoList List<XPMemberInfo>

A list of XPMemberInfo objects identifying persistent properties that are used to populate the XPDataView.Properties collection.

Remarks

This constructor populates the data view with columns, by calling the appropriate XPDataView.PopulateProperties overloaded method and passing the specified list of persistent properties as its memberInfoList parameter.

See Also