XPView.AddProperty(String, CriteriaOperator, Boolean) Method
In This Article
Creates a new ViewProperty object with the specified expression and appends it to the XPView.Properties collection.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
public ViewProperty AddProperty(
string name,
CriteriaOperator property,
bool group
)
#Parameters
Name | Type | Description |
---|---|---|
name | String | A String value which specifies the property name. This value is assigned to the View |
property | Criteria |
A Criteria |
group | Boolean | true to group the view by this property; otherwise, false. This value is assigned to the View |
#Returns
Type | Description |
---|---|
View |
The View |
See Also