XPView.AddProperty(String, String, Boolean) Method
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,
string 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 | String | A String value which specifies the expression used to calculate the values in a column. This value is assigned to the View |
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 |
#Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AddProperty(String, String, Boolean) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.