Skip to main content
.NET Framework 4.6.2+

XPView.AddProperty(String, CriteriaOperator) 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

Declaration

public ViewProperty AddProperty(
    string name,
    CriteriaOperator property
)

Parameters

Name Type Description
name String

A String value which specifies the property name. This value is assigned to the ViewProperty.Name property.

property CriteriaOperator

A CriteriaOperator object which specifies the expression used to calculate the values in a column.

Returns

Type Description
ViewProperty

The ViewProperty object that was added to the collection.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AddProperty(String, CriteriaOperator) 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.

See Also