XPDataView(XPDictionary, XPClassInfo, LoadDataMemberOrderItem[], SelectedData) Constructor
Initializes a new instance of the XPDataView class, populates it with columns and loads data 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,
LoadDataMemberOrderItem[] members,
SelectedData data
)
#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 | Load |
An array of Load |
data | Selected |
An Selected |
#Remarks
This constructor performs the following:
- Populates the data view with columns by calling XPDataView.PopulatePropertiesOrdered and passing classInfo and members as its parameters.
- Loads data into the data view via XPDataView.LoadOrderedData.
Note
If the number of columns within the XPData