ViewProperty(String, SortDirection, CriteriaOperator, Boolean, Boolean) Constructor
Initializes a new instance of the ViewProperty class with the specified settings.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
public ViewProperty(
string name,
SortDirection sorting,
CriteriaOperator property,
bool group,
bool fetch
)
#Parameters
Name | Type | Description |
---|---|---|
name | String | A String value which specifies the property name. This value is assigned to the View |
sorting | Sort |
A Sort |
property | Criteria |
A Criteria |
group | Boolean | true to group the view by the values of this property; otherwise, false. This value is assigned to the View |
fetch | Boolean | true to retrieve data for the property from a data store; otherwise, false. This value is assigned to the View |