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.v25.1.dll
NuGet Package: DevExpress.Xpo
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| name | String | A String value which specifies the property name. This value is assigned to the ViewProperty.Name property. |
| sorting | SortDirection | A SortDirection enumeration value which specifies the column’s sort order. This value is assigned to the ViewProperty.Sorting property. |
| property | CriteriaOperator | A CriteriaOperator descendant which the expression used to calculate the values in a column. This value is assigned to the ViewProperty.Property property. |
| group | Boolean | true to group the view by the values of this property; otherwise, false. This value is assigned to the ViewProperty.Group property. |
| fetch | Boolean | true to retrieve data for the property from a data store; otherwise, false. This value is assigned to the ViewProperty.Fetch property. |