XPDataView(XPDictionary, XPClassInfo, String[]) 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.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
public XPDataView(
XPDictionary dictionary,
XPClassInfo classInfo,
params string[] members
)
#Parameters
Name | Type | Description |
---|---|---|
dictionary | XPDictionary | An XPDictionary object which represents the metadata provider. This value is assigned to the XPData |
class |
XPClass |
An XPClass |
members | String[] | An array of property names that are used to populate the XPData |
#Remarks
This constructor populates the data view with columns by calling the appropriate XPDataView.PopulateProperties overloaded method and passing the specified metadata and array of property names as its classInfo and members parameters.