Skip to main content
.NET Framework 4.5.2+

ServerViewProperty.Property Property

Gets or sets the criteria to calculate property values.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v21.2.dll


public CriteriaOperator Property { get; set; }

Property Value

Type Description

A CriteriaOperator descendant that contains the expression to calculate property values.


Use the Name property to reference specific columns in an expression.


The following example demonstrates how to populate a server view’s XPServerModeView.Properties collection.

using DevExpress.Xpo;
// ...
xpServerModeView1.Properties.AddRange(new ServerViewProperty[] {
  new ServerViewProperty("Name", SortDirection.None, "[Name]"),
  new ServerViewProperty("CompanyName", SortDirection.None, "[Customer.CompanyName]"),
  new ServerViewProperty("Payment", SortDirection.None, "[Payments].Sum([Amount])"),
  new ServerViewProperty("EmployeeFullName", SortDirection.None, "[Employee.FirstName] + ' ' + 
See Also